@triedotdev/mcp 1.0.82 → 1.0.84
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 +670 -3
- package/dist/{chunk-W4SQE6F7.js → chunk-4U3DNRUA.js} +4 -4
- package/dist/{chunk-YHQYOD6M.js → chunk-4UVTFL2T.js} +7 -8
- package/dist/{chunk-YHQYOD6M.js.map → chunk-4UVTFL2T.js.map} +1 -1
- package/dist/{chunk-WGECLUDQ.js → chunk-7UPNCM66.js} +111 -23
- package/dist/chunk-7UPNCM66.js.map +1 -0
- package/dist/{chunk-7OVM6KEY.js → chunk-DXBYHIA7.js} +7 -7
- package/dist/{chunk-EWIEXQES.js → chunk-KGVKUMFO.js} +2 -2
- package/dist/{chunk-U5P3O5G5.js → chunk-TDWPEV3N.js} +3 -3
- package/dist/{chunk-B7CLAOEK.js → chunk-THJKXIMJ.js} +5 -4
- package/dist/chunk-THJKXIMJ.js.map +1 -0
- package/dist/{chunk-75J4HQTD.js → chunk-X3E6ISEG.js} +2 -2
- package/dist/{chunk-IDDEVC3M.js → chunk-Y23VXKHO.js} +8 -8
- package/dist/{chunk-CGALCUZE.js → chunk-Z6JP2QQU.js} +3 -3
- package/dist/cli/main.js +21 -19
- package/dist/cli/main.js.map +1 -1
- package/dist/cli/yolo-daemon.js +23 -14
- package/dist/cli/yolo-daemon.js.map +1 -1
- package/dist/{goal-manager-NHPEUWFY.js → goal-manager-JTM6MOZG.js} +4 -4
- package/dist/{guardian-agent-GWYDNLWC.js → guardian-agent-RIF7XBFL.js} +7 -7
- package/dist/index.js +18 -18
- package/dist/index.js.map +1 -1
- package/dist/{issue-store-RKJVOKSJ.js → issue-store-AZ3D4LOG.js} +2 -2
- package/dist/workers/agent-worker.js +3 -3
- package/package.json +3 -1
- package/dist/chunk-B7CLAOEK.js.map +0 -1
- package/dist/chunk-WGECLUDQ.js.map +0 -1
- /package/dist/{chunk-W4SQE6F7.js.map → chunk-4U3DNRUA.js.map} +0 -0
- /package/dist/{chunk-7OVM6KEY.js.map → chunk-DXBYHIA7.js.map} +0 -0
- /package/dist/{chunk-EWIEXQES.js.map → chunk-KGVKUMFO.js.map} +0 -0
- /package/dist/{chunk-U5P3O5G5.js.map → chunk-TDWPEV3N.js.map} +0 -0
- /package/dist/{chunk-75J4HQTD.js.map → chunk-X3E6ISEG.js.map} +0 -0
- /package/dist/{chunk-IDDEVC3M.js.map → chunk-Y23VXKHO.js.map} +0 -0
- /package/dist/{chunk-CGALCUZE.js.map → chunk-Z6JP2QQU.js.map} +0 -0
- /package/dist/{goal-manager-NHPEUWFY.js.map → goal-manager-JTM6MOZG.js.map} +0 -0
- /package/dist/{guardian-agent-GWYDNLWC.js.map → guardian-agent-RIF7XBFL.js.map} +0 -0
- /package/dist/{issue-store-RKJVOKSJ.js.map → issue-store-AZ3D4LOG.js.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SlackIntegration,
|
|
3
3
|
getGuardian
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-DXBYHIA7.js";
|
|
5
5
|
import {
|
|
6
6
|
Executor,
|
|
7
7
|
Triager,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
isGitRepo,
|
|
13
13
|
isTrieInitialized,
|
|
14
14
|
loadConfig
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-4U3DNRUA.js";
|
|
16
16
|
import {
|
|
17
17
|
getVulnerabilityStats,
|
|
18
18
|
getVulnerabilityTrie,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
} from "./chunk-FCMAQSV7.js";
|
|
21
21
|
import {
|
|
22
22
|
getGuardianState
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-X3E6ISEG.js";
|
|
24
24
|
import {
|
|
25
25
|
createSkillFromFile,
|
|
26
26
|
getSkillRegistry,
|
|
@@ -31,10 +31,10 @@ import {
|
|
|
31
31
|
removeGlobalSkill,
|
|
32
32
|
runShellCommand,
|
|
33
33
|
updateContextAfterScan
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-Z6JP2QQU.js";
|
|
35
35
|
import {
|
|
36
36
|
findCrossProjectPatterns
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-KGVKUMFO.js";
|
|
38
38
|
import {
|
|
39
39
|
Trie
|
|
40
40
|
} from "./chunk-6NLHFIYA.js";
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
getMemoryStats,
|
|
50
50
|
getRecentIssues,
|
|
51
51
|
searchIssues
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-7UPNCM66.js";
|
|
53
53
|
import {
|
|
54
54
|
getWorkingDirectory
|
|
55
55
|
} from "./chunk-CM7EHNQK.js";
|
|
@@ -3389,7 +3389,7 @@ var InteractiveDashboard = class {
|
|
|
3389
3389
|
*/
|
|
3390
3390
|
async measureSemanticGoalBaseline(description, workDir) {
|
|
3391
3391
|
try {
|
|
3392
|
-
const { searchIssues: searchIssues2 } = await import("./issue-store-
|
|
3392
|
+
const { searchIssues: searchIssues2 } = await import("./issue-store-AZ3D4LOG.js");
|
|
3393
3393
|
const issues = await searchIssues2("", {
|
|
3394
3394
|
workDir,
|
|
3395
3395
|
limit: 1e3,
|
|
@@ -9983,4 +9983,4 @@ export {
|
|
|
9983
9983
|
InteractiveDashboard,
|
|
9984
9984
|
TrieScanTool
|
|
9985
9985
|
};
|
|
9986
|
-
//# sourceMappingURL=chunk-
|
|
9986
|
+
//# sourceMappingURL=chunk-Y23VXKHO.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
recordToGlobalMemory,
|
|
3
3
|
updateGlobalMemoryMd
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-KGVKUMFO.js";
|
|
5
5
|
import {
|
|
6
6
|
checkFileLevelIssues,
|
|
7
7
|
getVibeCodeTrie,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
atomicWriteFile,
|
|
21
21
|
atomicWriteJSON,
|
|
22
22
|
storeIssues
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-7UPNCM66.js";
|
|
24
24
|
import {
|
|
25
25
|
getWorkingDirectory
|
|
26
26
|
} from "./chunk-CM7EHNQK.js";
|
|
@@ -11041,4 +11041,4 @@ export {
|
|
|
11041
11041
|
CustomSkill,
|
|
11042
11042
|
getSkillRegistry
|
|
11043
11043
|
};
|
|
11044
|
-
//# sourceMappingURL=chunk-
|
|
11044
|
+
//# sourceMappingURL=chunk-Z6JP2QQU.js.map
|
package/dist/cli/main.js
CHANGED
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
shouldAutoFix,
|
|
18
18
|
shouldBlockPush,
|
|
19
19
|
trackIssueOccurrence
|
|
20
|
-
} from "../chunk-
|
|
20
|
+
} from "../chunk-4UVTFL2T.js";
|
|
21
21
|
import {
|
|
22
22
|
SKILL_CATEGORIES,
|
|
23
23
|
detectStack,
|
|
@@ -28,15 +28,15 @@ import {
|
|
|
28
28
|
isTrieInitialized,
|
|
29
29
|
loadConfig,
|
|
30
30
|
saveConfig
|
|
31
|
-
} from "../chunk-
|
|
31
|
+
} from "../chunk-4U3DNRUA.js";
|
|
32
32
|
import {
|
|
33
33
|
ContextGraph,
|
|
34
34
|
GotchaPredictor
|
|
35
|
-
} from "../chunk-
|
|
35
|
+
} from "../chunk-THJKXIMJ.js";
|
|
36
36
|
import "../chunk-FCMAQSV7.js";
|
|
37
37
|
import {
|
|
38
38
|
getGuardianState
|
|
39
|
-
} from "../chunk-
|
|
39
|
+
} from "../chunk-X3E6ISEG.js";
|
|
40
40
|
import {
|
|
41
41
|
formatAuditLog,
|
|
42
42
|
getAuditStatistics,
|
|
@@ -50,14 +50,14 @@ import {
|
|
|
50
50
|
projectInfoExists,
|
|
51
51
|
recordSkillInstalled,
|
|
52
52
|
removeSkill
|
|
53
|
-
} from "../chunk-
|
|
53
|
+
} from "../chunk-Z6JP2QQU.js";
|
|
54
54
|
import {
|
|
55
55
|
findCrossProjectPatterns,
|
|
56
56
|
getGlobalMemoryStats,
|
|
57
57
|
listTrackedProjects,
|
|
58
58
|
searchGlobalPatterns,
|
|
59
59
|
updateGlobalMemoryMd
|
|
60
|
-
} from "../chunk-
|
|
60
|
+
} from "../chunk-KGVKUMFO.js";
|
|
61
61
|
import "../chunk-SH2JIQLB.js";
|
|
62
62
|
import "../chunk-6NLHFIYA.js";
|
|
63
63
|
import "../chunk-TBRU735C.js";
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
markIssueResolved,
|
|
70
70
|
purgeIssues,
|
|
71
71
|
searchIssues
|
|
72
|
-
} from "../chunk-
|
|
72
|
+
} from "../chunk-7UPNCM66.js";
|
|
73
73
|
import {
|
|
74
74
|
getWorkingDirectory
|
|
75
75
|
} from "../chunk-CM7EHNQK.js";
|
|
@@ -2156,12 +2156,11 @@ async function handleLinearCommand(args) {
|
|
|
2156
2156
|
|
|
2157
2157
|
// src/cli/gotcha.ts
|
|
2158
2158
|
import picocolors from "picocolors";
|
|
2159
|
-
async function handleGotchaCommand(
|
|
2159
|
+
async function handleGotchaCommand() {
|
|
2160
2160
|
try {
|
|
2161
2161
|
const workDir = getWorkingDirectory(void 0, true);
|
|
2162
2162
|
const graph = new ContextGraph(workDir);
|
|
2163
2163
|
const predictor = new GotchaPredictor(workDir, graph);
|
|
2164
|
-
const engine = new LearningEngine(workDir, graph);
|
|
2165
2164
|
console.log('Analyzing current changes for "gotchas"...');
|
|
2166
2165
|
const staged = await getStagedChanges(workDir);
|
|
2167
2166
|
const uncommitted = await getUncommittedChanges(workDir);
|
|
@@ -2299,7 +2298,7 @@ COMMANDS:
|
|
|
2299
2298
|
memory Search and manage issue memory
|
|
2300
2299
|
status Quick health check (project health + memory stats)
|
|
2301
2300
|
project View/manage project info (.trie/PROJECT.md)
|
|
2302
|
-
|
|
2301
|
+
scouts List all available scouts
|
|
2303
2302
|
setup Configure API key and environment
|
|
2304
2303
|
|
|
2305
2304
|
agent-smith Run Agent Smith (35 vibe code hunters)
|
|
@@ -2315,7 +2314,7 @@ EXAMPLES:
|
|
|
2315
2314
|
trie watch # Start the guardian (watches + nudges)
|
|
2316
2315
|
trie watch # Run in background: screen -S trie-watch
|
|
2317
2316
|
trie scan # Scan your codebase now
|
|
2318
|
-
trie scan --
|
|
2317
|
+
trie scan --scouts security,privacy # Scan with specific scouts
|
|
2319
2318
|
|
|
2320
2319
|
trie tell "users couldn't log in" # Report an incident
|
|
2321
2320
|
trie ok # Mark current pattern as good
|
|
@@ -2338,12 +2337,12 @@ EXAMPLES:
|
|
|
2338
2337
|
|
|
2339
2338
|
MCP TOOLS (use via Cursor/Claude Desktop):
|
|
2340
2339
|
trie_linear_sync Sync active tickets from Linear
|
|
2341
|
-
trie_scan Intelligent scan with
|
|
2340
|
+
trie_scan Intelligent scan with scout selection
|
|
2342
2341
|
trie_fix Generate high-confidence fix prompts
|
|
2343
2342
|
trie_explain Explain code, issues, or changes
|
|
2344
2343
|
trie_watch Watch mode for autonomous reporting
|
|
2345
2344
|
|
|
2346
|
-
Individual
|
|
2345
|
+
Individual Scouts:
|
|
2347
2346
|
trie_security Security vulnerabilities
|
|
2348
2347
|
trie_privacy Privacy & GDPR compliance
|
|
2349
2348
|
trie_soc2 SOC 2 Type II compliance
|
|
@@ -2356,7 +2355,7 @@ MCP TOOLS (use via Cursor/Claude Desktop):
|
|
|
2356
2355
|
trie_devops DevOps & deployment
|
|
2357
2356
|
trie_clean Clean up AI-generated code
|
|
2358
2357
|
|
|
2359
|
-
Special
|
|
2358
|
+
Special Scouts:
|
|
2360
2359
|
trie_agent_smith 35 vibe code hunters, cross-file detection
|
|
2361
2360
|
trie_super_reviewer Interactive PR review with cross-examination
|
|
2362
2361
|
|
|
@@ -2414,10 +2413,10 @@ Ask your AI assistant: "Scan this with Trie" or "Use trie_scan"
|
|
|
2414
2413
|
function listAgents() {
|
|
2415
2414
|
console.log(`
|
|
2416
2415
|
\u2554\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2557
|
|
2417
|
-
\u2551 \u{1F4CB} Available
|
|
2416
|
+
\u2551 \u{1F4CB} Available Scouts \u2551
|
|
2418
2417
|
\u255A\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u255D
|
|
2419
2418
|
|
|
2420
|
-
BUILT-IN
|
|
2419
|
+
BUILT-IN SCOUTS:
|
|
2421
2420
|
\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500
|
|
2422
2421
|
security Security vulnerabilities, injection risks, auth issues
|
|
2423
2422
|
privacy GDPR, HIPAA, PII handling, data encryption
|
|
@@ -2685,8 +2684,11 @@ async function main() {
|
|
|
2685
2684
|
case "save":
|
|
2686
2685
|
handleCheckpointCommand(restArgs);
|
|
2687
2686
|
break;
|
|
2687
|
+
case "scouts":
|
|
2688
2688
|
case "agents":
|
|
2689
|
+
// Alias for backward compatibility
|
|
2689
2690
|
case "list":
|
|
2691
|
+
case "list-scouts":
|
|
2690
2692
|
case "list-agents":
|
|
2691
2693
|
listAgents();
|
|
2692
2694
|
break;
|
|
@@ -2758,12 +2760,12 @@ async function main() {
|
|
|
2758
2760
|
case "agent-smith":
|
|
2759
2761
|
case "smith":
|
|
2760
2762
|
case "trie_agent_smith":
|
|
2761
|
-
runScan(["--
|
|
2763
|
+
runScan(["--scouts", "agent-smith", ...restArgs]);
|
|
2762
2764
|
break;
|
|
2763
2765
|
case "super-reviewer":
|
|
2764
2766
|
case "reviewer":
|
|
2765
2767
|
case "trie_super_reviewer":
|
|
2766
|
-
runScan(["--
|
|
2768
|
+
runScan(["--scouts", "super-reviewer", ...restArgs]);
|
|
2767
2769
|
break;
|
|
2768
2770
|
case "ci":
|
|
2769
2771
|
case "ci-setup":
|
|
@@ -2774,7 +2776,7 @@ async function main() {
|
|
|
2774
2776
|
break;
|
|
2775
2777
|
case "gotcha":
|
|
2776
2778
|
case "predict":
|
|
2777
|
-
handleGotchaCommand(
|
|
2779
|
+
handleGotchaCommand();
|
|
2778
2780
|
break;
|
|
2779
2781
|
default:
|
|
2780
2782
|
if (command.startsWith("-")) {
|