@triedotdev/mcp 1.0.24 → 1.0.25
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 +5 -3
- package/dist/index.js +31 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -119,14 +119,16 @@ Run trie_security on this file
|
|
|
119
119
|
Run trie_soc2 to check compliance
|
|
120
120
|
```
|
|
121
121
|
|
|
122
|
-
### AI-Enhanced Mode (
|
|
122
|
+
### AI-Enhanced Mode (Recommended)
|
|
123
123
|
|
|
124
124
|
Trie works in two modes:
|
|
125
125
|
|
|
126
126
|
| Mode | Description |
|
|
127
127
|
|------|-------------|
|
|
128
|
-
| **Pattern-Only** (default) | Fast regex
|
|
129
|
-
| **AI-Enhanced** |
|
|
128
|
+
| **Pattern-Only** (default) | Fast regex matching for specific patterns (exposed secrets, async forEach, etc.). Limited coverage without AI. |
|
|
129
|
+
| **AI-Enhanced** | Full analysis: pattern detection + AI validation + deeper issue discovery. **Recommended for comprehensive scanning.** |
|
|
130
|
+
|
|
131
|
+
> **Note:** Pattern-only mode catches specific high-confidence issues (AWS keys, GitHub tokens, common anti-patterns) but won't find logic bugs, architectural issues, or context-dependent problems. For thorough analysis, enable AI mode.
|
|
130
132
|
|
|
131
133
|
**Enable AI mode:**
|
|
132
134
|
|
package/dist/index.js
CHANGED
|
@@ -3565,6 +3565,24 @@ var ToolRegistry = class {
|
|
|
3565
3565
|
}
|
|
3566
3566
|
}
|
|
3567
3567
|
}
|
|
3568
|
+
},
|
|
3569
|
+
{
|
|
3570
|
+
name: "smith",
|
|
3571
|
+
description: "\u{1F574}\uFE0F Agent Smith (alias): Hunt AI-generated code anti-patterns. 43 specialized hunters.",
|
|
3572
|
+
inputSchema: {
|
|
3573
|
+
type: "object",
|
|
3574
|
+
properties: {
|
|
3575
|
+
files: {
|
|
3576
|
+
type: "array",
|
|
3577
|
+
items: { type: "string" },
|
|
3578
|
+
description: "Files to scan (defaults to entire codebase)"
|
|
3579
|
+
},
|
|
3580
|
+
directory: {
|
|
3581
|
+
type: "string",
|
|
3582
|
+
description: "Directory to scan. Pass the workspace/project root path for accurate results."
|
|
3583
|
+
}
|
|
3584
|
+
}
|
|
3585
|
+
}
|
|
3568
3586
|
}
|
|
3569
3587
|
];
|
|
3570
3588
|
}
|
|
@@ -4152,16 +4170,24 @@ var RequestHandlers = class {
|
|
|
4152
4170
|
text: [
|
|
4153
4171
|
"## Trie Menu",
|
|
4154
4172
|
"",
|
|
4155
|
-
"
|
|
4173
|
+
"**Scanning:**",
|
|
4174
|
+
"- `scan` or `trie_scan`: Full intelligent scan (auto triage agents)",
|
|
4175
|
+
"- `agent_smith` or `smith`: \u{1F574}\uFE0F AI code enforcer \u2014 43 specialized hunters",
|
|
4156
4176
|
"- `pr_review`: \u{1F50D} Interactive PR review \u2014 walks through changes file-by-file",
|
|
4177
|
+
"",
|
|
4178
|
+
"**Individual Agents:**",
|
|
4179
|
+
"- `security`, `privacy`, `legal`, `bugs`, `types`, `devops`, `architecture`, `ux`, `clean`, `soc2`, `performance`, `e2e`, `visual_qa`, `data_flow`",
|
|
4180
|
+
"",
|
|
4181
|
+
"**Tools:**",
|
|
4157
4182
|
"- `fix`: Apply high-confidence fixes",
|
|
4158
4183
|
"- `explain`: Explain code/issues/risks",
|
|
4159
4184
|
"- `watch`: Watch mode (scan on change)",
|
|
4160
|
-
"- `
|
|
4161
|
-
"
|
|
4162
|
-
"
|
|
4185
|
+
"- `visual_qa_browser`: Screenshot app for vision analysis",
|
|
4186
|
+
"",
|
|
4187
|
+
"**Custom Agents:**",
|
|
4188
|
+
"- `create_agent`, `save_agent`, `list_agents`",
|
|
4163
4189
|
"",
|
|
4164
|
-
"
|
|
4190
|
+
"All commands accept `trie_` prefix (e.g., `trie_scan`, `trie_smith`)."
|
|
4165
4191
|
].join("\n")
|
|
4166
4192
|
}]
|
|
4167
4193
|
};
|