@triedotdev/mcp 1.0.15 → 1.0.16
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 +47 -2
- package/dist/{chunk-NJXF26W7.js → chunk-ENCH27CT.js} +1359 -2
- package/dist/chunk-ENCH27CT.js.map +1 -0
- package/dist/cli/yolo-daemon.js +1 -1
- package/dist/index.js +305 -12
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
- package/dist/chunk-NJXF26W7.js.map +0 -1
package/README.md
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
**Customizable Parallel Agents for AI Code Review**
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
20 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
|
+
- **20 Built-in Agents** - Security, Privacy, SOC 2, Legal, Architecture, Performance, E2E, Visual QA, Data Flow, Agent Smith, and more
|
|
10
10
|
- **Super Reviewer** - Interactive PR reviews: walks through changes file-by-file with AI guidance
|
|
11
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
|
|
@@ -136,6 +136,45 @@ VIOLATIONS DETECTED: 47 instances across 6 categories
|
|
|
136
136
|
"You hear that? That is the sound of inevitability."
|
|
137
137
|
```
|
|
138
138
|
|
|
139
|
+
## Visual QA Browser
|
|
140
|
+
|
|
141
|
+
**Screenshot-based visual testing** - Captures your app at 3 viewports and uses Claude Vision to analyze for visual bugs.
|
|
142
|
+
|
|
143
|
+
```
|
|
144
|
+
Use trie_visual_qa_browser
|
|
145
|
+
Use trie_visual_qa_browser url:"http://localhost:3000"
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
**How it works:**
|
|
149
|
+
1. Auto-detects running dev server (checks ports 3000, 5173, 8080, etc.)
|
|
150
|
+
2. Launches headless Playwright browser
|
|
151
|
+
3. Captures screenshots at mobile (375px), tablet (768px), and desktop (1440px)
|
|
152
|
+
4. Returns images for Claude Vision to analyze
|
|
153
|
+
|
|
154
|
+
**What Claude Vision checks:**
|
|
155
|
+
- Broken layouts, overlapping elements
|
|
156
|
+
- Responsive design issues
|
|
157
|
+
- Color contrast and accessibility
|
|
158
|
+
- Missing images, loading states
|
|
159
|
+
- General visual polish
|
|
160
|
+
|
|
161
|
+
**Options:**
|
|
162
|
+
| Option | Description |
|
|
163
|
+
|--------|-------------|
|
|
164
|
+
| `url` | Specific URL to screenshot |
|
|
165
|
+
| `port` | Specific port to check |
|
|
166
|
+
| `waitForSelector` | CSS selector to wait for before capture |
|
|
167
|
+
| `waitMs` | Additional wait time after page load |
|
|
168
|
+
|
|
169
|
+
**First run:** If Playwright browsers aren't installed, run: `npx playwright install chromium`
|
|
170
|
+
|
|
171
|
+
**Vision model required:** This tool returns screenshots for the LLM to analyze. Works best with:
|
|
172
|
+
- Cursor (Claude has vision)
|
|
173
|
+
- Claude Code (native vision support)
|
|
174
|
+
- OpenCode with Claude/GPT-4V
|
|
175
|
+
|
|
176
|
+
No API key needed - Trie runs locally and the AI tool's built-in model does the analysis.
|
|
177
|
+
|
|
139
178
|
## YOLO Mode
|
|
140
179
|
|
|
141
180
|
**Autonomous auto-fixing** - Trie watches your code and automatically fixes high-confidence issues as you code.
|
|
@@ -207,6 +246,8 @@ docker-compose up
|
|
|
207
246
|
| **Bugs** | `trie_bugs` | Null dereference, race conditions, off-by-one, async bugs, resource leaks |
|
|
208
247
|
| **Types** | `trie_types` | Missing annotations, unsafe casts, implicit `any`, null handling gaps |
|
|
209
248
|
| **Clean** | `trie_clean` | AI code smells: huge files, console.logs, hardcoded URLs, useEffect abuse |
|
|
249
|
+
| **Data Flow** | `trie_data_flow` | Placeholder data, schema mismatches, hardcoded IDs, type coercion bugs |
|
|
250
|
+
| **Performance** | `trie_performance` | Memory leaks, N+1 queries, unnecessary re-renders, bundle size issues |
|
|
210
251
|
|
|
211
252
|
### Design & UX
|
|
212
253
|
|
|
@@ -215,6 +256,8 @@ docker-compose up
|
|
|
215
256
|
| **Design Engineer** | `trie_design` | Design systems, motion design, creative CSS, Awwwards-level polish |
|
|
216
257
|
| **Accessibility** | `trie_accessibility` | Missing ARIA, color contrast, keyboard nav, screen reader issues (WCAG 2.1) |
|
|
217
258
|
| **UX** | `trie_ux` | Missing loading states, poor error handling, broken flows, edge cases |
|
|
259
|
+
| **Visual QA** | `trie_visual_qa` | Layout shifts (CLS), z-index wars, responsive gaps, animation issues |
|
|
260
|
+
| **Visual QA Browser** | `trie_visual_qa_browser` | Screenshots at 3 viewports for Claude Vision analysis |
|
|
218
261
|
|
|
219
262
|
### DevOps & Testing
|
|
220
263
|
|
|
@@ -222,6 +265,7 @@ docker-compose up
|
|
|
222
265
|
|-------|---------|-----------------|
|
|
223
266
|
| **DevOps** | `trie_devops` | Missing env vars, config issues, no health checks, logging gaps |
|
|
224
267
|
| **Test** | `trie_test` | Missing test coverage, untested edge cases, weak assertions |
|
|
268
|
+
| **E2E** | `trie_e2e` | Flaky tests, hardcoded waits, brittle selectors, missing coverage |
|
|
225
269
|
|
|
226
270
|
### Review & Explanation
|
|
227
271
|
|
|
@@ -255,6 +299,7 @@ Custom agents automatically activate during scans based on their rules.
|
|
|
255
299
|
| `trie_watch` | Continuous scanning mode |
|
|
256
300
|
| `trie_create_agent` | Create custom agent from document |
|
|
257
301
|
| `trie_list_agents` | List all available agents |
|
|
302
|
+
| `trie_visual_qa_browser` | Screenshot app at 3 viewports for Claude Vision analysis |
|
|
258
303
|
|
|
259
304
|
Plus individual agent tools: `trie_security`, `trie_privacy`, `trie_soc2`, `trie_bugs`, etc.
|
|
260
305
|
|