@triedotdev/mcp 1.0.7 → 1.0.9

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 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
- "design-engineer": { "enabled": true }
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
- 13 specialized agents scan your code for security, privacy, compliance, and bugs—all running in parallel. Create custom agents from any document.
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
- - **13 Built-in Agents** - Security, Privacy, SOC 2, Legal, Architecture, DevOps, and more
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,28 @@ Run trie_security on this file
60
61
  Run trie_soc2 to check compliance
61
62
  ```
62
63
 
64
+ ## Super Reviewer 🔍
65
+
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
+
68
+ ```
69
+ Use trie_pr_review
70
+ Use trie_pr_review with pr:"12345"
71
+ ```
72
+
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
85
+
63
86
  ## YOLO Mode 🔥
64
87
 
65
88
  **Autonomous auto-fixing** - Trie watches your code and automatically fixes high-confidence issues as you code.
@@ -114,21 +137,45 @@ docker-compose up
114
137
 
115
138
  ## Built-in Agents
116
139
 
117
- | Agent | Description |
118
- |-------|-------------|
119
- | `security` | Vulnerabilities, injection risks, hardcoded secrets |
120
- | `privacy` | GDPR, CCPA, PII handling, data protection |
121
- | `soc2` | SOC 2 Type II compliance: access controls, encryption, logging |
122
- | `legal` | Consent patterns, data retention, compliance |
123
- | `architecture` | SOLID principles, code organization, scalability |
124
- | `bugs` | Null safety, edge cases, async issues |
125
- | `types` | Type errors, missing annotations |
126
- | `devops` | Config issues, logging, environment variables |
127
- | `accessibility` | WCAG 2.1, keyboard nav, screen readers |
128
- | `ux` | User flow testing, error states |
129
- | `clean` | AI-generated code cleanup |
130
- | `test` | Test generation and coverage |
131
- | `comprehension` | Plain-language explanations |
140
+ ### 🔒 Security & Compliance
141
+
142
+ | Agent | Command | What It Catches |
143
+ |-------|---------|-----------------|
144
+ | **Security** | `trie_security` | SQL injection, XSS, hardcoded secrets, auth bypasses, OWASP Top 10 |
145
+ | **Privacy** | `trie_privacy` | PII exposure, GDPR/CCPA violations, unencrypted sensitive data, logging PII |
146
+ | **SOC 2** | `trie_soc2` | Access control gaps, missing audit logs, encryption issues, change management |
147
+ | **Legal** | `trie_legal` | HIPAA/COPPA compliance, consent patterns, data retention, cookie tracking |
148
+
149
+ ### 🏗️ Code Quality
150
+
151
+ | Agent | Command | What It Catches |
152
+ |-------|---------|-----------------|
153
+ | **Architecture** | `trie_architecture` | N+1 queries, circular deps, SOLID violations, god classes, missing layers |
154
+ | **Bugs** | `trie_bugs` | Null dereference, race conditions, off-by-one, async bugs, resource leaks |
155
+ | **Types** | `trie_types` | Missing annotations, unsafe casts, implicit `any`, null handling gaps |
156
+ | **Clean** | `trie_clean` | AI code smells: huge files, console.logs, hardcoded URLs, useEffect abuse |
157
+
158
+ ### 🎨 Design & UX
159
+
160
+ | Agent | Command | What It Catches |
161
+ |-------|---------|-----------------|
162
+ | **Design Engineer** | `trie_design` | Design systems, motion design, creative CSS, Awwwards-level polish |
163
+ | **Accessibility** | `trie_accessibility` | Missing ARIA, color contrast, keyboard nav, screen reader issues (WCAG 2.1) |
164
+ | **UX** | `trie_ux` | Missing loading states, poor error handling, broken flows, edge cases |
165
+
166
+ ### 🛠️ DevOps & Testing
167
+
168
+ | Agent | Command | What It Catches |
169
+ |-------|---------|-----------------|
170
+ | **DevOps** | `trie_devops` | Missing env vars, config issues, no health checks, logging gaps |
171
+ | **Test** | `trie_test` | Missing test coverage, untested edge cases, weak assertions |
172
+
173
+ ### 🔍 Review & Explanation
174
+
175
+ | Agent | Command | What It Does |
176
+ |-------|---------|--------------|
177
+ | **Super Reviewer** | `trie_pr_review` | Interactive PR review: walks through changes, explains code, finds issues |
178
+ | **Comprehension** | `trie_explain` | Plain-language explanations of code, issues, or risks |
132
179
 
133
180
  ## Custom Agents
134
181
 
@@ -145,6 +192,7 @@ Custom agents automatically activate during scans based on their rules.
145
192
  | Tool | Description |
146
193
  |------|-------------|
147
194
  | `trie_scan` | Intelligent scan with automatic agent selection |
195
+ | `trie_pr_review` | Interactive PR review — walks through changes file-by-file |
148
196
  | `trie_fix` | Apply high-confidence fixes |
149
197
  | `trie_explain` | Plain-language explanations |
150
198
  | `trie_watch` | Continuous scanning mode |