@triedotdev/mcp 1.0.7 → 1.0.8
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/QUICK_START.md +1 -1
- package/README.md +60 -17
- package/dist/{chunk-EDWYG3KK.js → chunk-Z3GM6UVW.js} +758 -11
- package/dist/chunk-Z3GM6UVW.js.map +1 -0
- package/dist/cli/main.js +1 -1
- package/dist/cli/main.js.map +1 -1
- package/dist/cli/yolo-daemon.js +1 -1
- package/dist/index.js +470 -18
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-EDWYG3KK.js.map +0 -1
package/QUICK_START.md
CHANGED
|
@@ -171,7 +171,7 @@ Create `.trie/config.json` in your project root to customize behavior:
|
|
|
171
171
|
"security": { "enabled": true },
|
|
172
172
|
"privacy": { "enabled": true },
|
|
173
173
|
"legal": { "enabled": true },
|
|
174
|
-
"
|
|
174
|
+
"accessibility": { "enabled": true }
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
177
|
}
|
package/README.md
CHANGED
|
@@ -2,11 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
**Customizable Parallel Agents for AI Code Review**
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
15 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
|
+
- **15 Built-in Agents** - Security, Privacy, SOC 2, Legal, Architecture, Design Engineer, and more
|
|
10
|
+
- **🔍 Super Reviewer** - Interactive PR reviews: walks through changes file-by-file with AI guidance
|
|
10
11
|
- **Parallel Execution** - All agents run simultaneously for fast scans
|
|
11
12
|
- **🔥 YOLO Mode** - Autonomous auto-fixing as you code
|
|
12
13
|
- **Custom Agents** - Create agents from PDFs, docs, or style guides
|
|
@@ -60,6 +61,23 @@ Run trie_security on this file
|
|
|
60
61
|
Run trie_soc2 to check compliance
|
|
61
62
|
```
|
|
62
63
|
|
|
64
|
+
## Super Reviewer 🔍
|
|
65
|
+
|
|
66
|
+
**Interactive AI-guided code reviews** — Code reviews are the bottleneck in AI coding. Super Reviewer scales them by putting the human back in the loop, shepherded by AI.
|
|
67
|
+
|
|
68
|
+
```
|
|
69
|
+
Use trie_pr_review
|
|
70
|
+
Use trie_pr_review with pr:"12345"
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
Super Reviewer will:
|
|
74
|
+
- Walk through each file, chunk by chunk
|
|
75
|
+
- Explain changes, connect dots across files
|
|
76
|
+
- Sequence files for understandability (schemas first, then core logic, then tests)
|
|
77
|
+
- Look for issues: state/lifecycle bugs, race conditions, missing pieces
|
|
78
|
+
- Pause for your cross-examination before moving to the next file
|
|
79
|
+
- Help you review 10x faster while catching MORE issues
|
|
80
|
+
|
|
63
81
|
## YOLO Mode 🔥
|
|
64
82
|
|
|
65
83
|
**Autonomous auto-fixing** - Trie watches your code and automatically fixes high-confidence issues as you code.
|
|
@@ -114,21 +132,45 @@ docker-compose up
|
|
|
114
132
|
|
|
115
133
|
## Built-in Agents
|
|
116
134
|
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
|
120
|
-
|
|
121
|
-
| `
|
|
122
|
-
| `
|
|
123
|
-
| `
|
|
124
|
-
| `
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
|
129
|
-
|
|
130
|
-
| `
|
|
131
|
-
| `
|
|
135
|
+
### 🔒 Security & Compliance
|
|
136
|
+
|
|
137
|
+
| Agent | Command | What It Catches |
|
|
138
|
+
|-------|---------|-----------------|
|
|
139
|
+
| **Security** | `trie_security` | SQL injection, XSS, hardcoded secrets, auth bypasses, OWASP Top 10 |
|
|
140
|
+
| **Privacy** | `trie_privacy` | PII exposure, GDPR/CCPA violations, unencrypted sensitive data, logging PII |
|
|
141
|
+
| **SOC 2** | `trie_soc2` | Access control gaps, missing audit logs, encryption issues, change management |
|
|
142
|
+
| **Legal** | `trie_legal` | HIPAA/COPPA compliance, consent patterns, data retention, cookie tracking |
|
|
143
|
+
|
|
144
|
+
### 🏗️ Code Quality
|
|
145
|
+
|
|
146
|
+
| Agent | Command | What It Catches |
|
|
147
|
+
|-------|---------|-----------------|
|
|
148
|
+
| **Architecture** | `trie_architecture` | N+1 queries, circular deps, SOLID violations, god classes, missing layers |
|
|
149
|
+
| **Bugs** | `trie_bugs` | Null dereference, race conditions, off-by-one, async bugs, resource leaks |
|
|
150
|
+
| **Types** | `trie_types` | Missing annotations, unsafe casts, implicit `any`, null handling gaps |
|
|
151
|
+
| **Clean** | `trie_clean` | AI code smells: huge files, console.logs, hardcoded URLs, useEffect abuse |
|
|
152
|
+
|
|
153
|
+
### 🎨 Design & UX
|
|
154
|
+
|
|
155
|
+
| Agent | Command | What It Catches |
|
|
156
|
+
|-------|---------|-----------------|
|
|
157
|
+
| **Design Engineer** | `trie_design` | Design systems, motion design, creative CSS, Awwwards-level polish |
|
|
158
|
+
| **Accessibility** | `trie_accessibility` | Missing ARIA, color contrast, keyboard nav, screen reader issues (WCAG 2.1) |
|
|
159
|
+
| **UX** | `trie_ux` | Missing loading states, poor error handling, broken flows, edge cases |
|
|
160
|
+
|
|
161
|
+
### 🛠️ DevOps & Testing
|
|
162
|
+
|
|
163
|
+
| Agent | Command | What It Catches |
|
|
164
|
+
|-------|---------|-----------------|
|
|
165
|
+
| **DevOps** | `trie_devops` | Missing env vars, config issues, no health checks, logging gaps |
|
|
166
|
+
| **Test** | `trie_test` | Missing test coverage, untested edge cases, weak assertions |
|
|
167
|
+
|
|
168
|
+
### 🔍 Review & Explanation
|
|
169
|
+
|
|
170
|
+
| Agent | Command | What It Does |
|
|
171
|
+
|-------|---------|--------------|
|
|
172
|
+
| **Super Reviewer** | `trie_pr_review` | Interactive PR review: walks through changes, explains code, finds issues |
|
|
173
|
+
| **Comprehension** | `trie_explain` | Plain-language explanations of code, issues, or risks |
|
|
132
174
|
|
|
133
175
|
## Custom Agents
|
|
134
176
|
|
|
@@ -145,6 +187,7 @@ Custom agents automatically activate during scans based on their rules.
|
|
|
145
187
|
| Tool | Description |
|
|
146
188
|
|------|-------------|
|
|
147
189
|
| `trie_scan` | Intelligent scan with automatic agent selection |
|
|
190
|
+
| `trie_pr_review` | Interactive PR review — walks through changes file-by-file |
|
|
148
191
|
| `trie_fix` | Apply high-confidence fixes |
|
|
149
192
|
| `trie_explain` | Plain-language explanations |
|
|
150
193
|
| `trie_watch` | Continuous scanning mode |
|