@triedotdev/mcp 1.0.156 → 1.0.157
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/dist/chunk-5PTA7A2E.js +3983 -0
- package/dist/chunk-5PTA7A2E.js.map +1 -0
- package/dist/{chunk-EJKVKVWM.js → chunk-62JD7MIS.js} +4 -4
- package/dist/{chunk-SSNOHUHY.js → chunk-ACU3IXZG.js} +1 -1
- package/dist/{chunk-LGDZXKC5.js → chunk-BLQ3Z6O3.js} +19 -19
- package/dist/{chunk-CYKJIQNG.js → chunk-M4CGCPHR.js} +5 -5
- package/dist/{chunk-OMZSQAQ2.js → chunk-UKIDAMAG.js} +10 -10
- package/dist/cli/main.js +15 -15
- package/dist/cli/yolo-daemon.js +8 -8
- package/dist/{fast-analyzer-CRWPDN6C.js → fast-analyzer-LLZ6FLP5.js} +3 -3
- package/dist/{goal-validator-4E5ZLCDH.js → goal-validator-4DDL7NBP.js} +2 -2
- package/dist/index.js +19 -3980
- package/dist/index.js.map +1 -1
- package/dist/server/mcp-server.d.ts +22 -0
- package/dist/server/mcp-server.js +41 -0
- package/dist/{trie-agent-GL3VQPCD.js → trie-agent-XWEJSIYH.js} +6 -6
- package/dist/trie-agent-XWEJSIYH.js.map +1 -0
- package/package.json +1 -1
- /package/dist/{chunk-EJKVKVWM.js.map → chunk-62JD7MIS.js.map} +0 -0
- /package/dist/{chunk-SSNOHUHY.js.map → chunk-ACU3IXZG.js.map} +0 -0
- /package/dist/{chunk-LGDZXKC5.js.map → chunk-BLQ3Z6O3.js.map} +0 -0
- /package/dist/{chunk-CYKJIQNG.js.map → chunk-M4CGCPHR.js.map} +0 -0
- /package/dist/{chunk-OMZSQAQ2.js.map → chunk-UKIDAMAG.js.map} +0 -0
- /package/dist/{fast-analyzer-CRWPDN6C.js.map → fast-analyzer-LLZ6FLP5.js.map} +0 -0
- /package/dist/{goal-validator-4E5ZLCDH.js.map → goal-validator-4DDL7NBP.js.map} +0 -0
- /package/dist/{trie-agent-GL3VQPCD.js.map → server/mcp-server.js.map} +0 -0
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-JVMBCWKS.js";
|
|
4
4
|
import {
|
|
5
5
|
getTrieAgent
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-M4CGCPHR.js";
|
|
7
7
|
import {
|
|
8
8
|
CodebaseIndex
|
|
9
9
|
} from "./chunk-Q5EKA5YA.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
perceiveCurrentChanges,
|
|
21
21
|
reasonAboutChangesHumanReadable,
|
|
22
22
|
saveCheckpoint
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-62JD7MIS.js";
|
|
24
24
|
import {
|
|
25
25
|
loadConfig,
|
|
26
26
|
saveConfig
|
|
@@ -30,13 +30,17 @@ import {
|
|
|
30
30
|
} from "./chunk-TN5WEKWI.js";
|
|
31
31
|
import {
|
|
32
32
|
findCrossProjectPatterns
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-UKIDAMAG.js";
|
|
34
|
+
import {
|
|
35
|
+
TieredStorage,
|
|
36
|
+
getStorage
|
|
37
|
+
} from "./chunk-FNZPMR62.js";
|
|
34
38
|
import {
|
|
35
39
|
ContextGraph
|
|
36
40
|
} from "./chunk-VUL52BQL.js";
|
|
37
41
|
import {
|
|
38
42
|
measureInitialGoalValue
|
|
39
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-ACU3IXZG.js";
|
|
40
44
|
import {
|
|
41
45
|
getKeyFromKeychain,
|
|
42
46
|
isAIAvailable,
|
|
@@ -48,17 +52,13 @@ import {
|
|
|
48
52
|
getProjectState
|
|
49
53
|
} from "./chunk-5BYSJ7XT.js";
|
|
50
54
|
import {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
} from "./chunk-FNZPMR62.js";
|
|
55
|
+
storeIssues
|
|
56
|
+
} from "./chunk-IRZXBQVQ.js";
|
|
54
57
|
import {
|
|
55
58
|
getAutonomyConfig,
|
|
56
59
|
loadAutonomyConfig,
|
|
57
60
|
saveAutonomyConfig
|
|
58
61
|
} from "./chunk-ME2OERF5.js";
|
|
59
|
-
import {
|
|
60
|
-
storeIssues
|
|
61
|
-
} from "./chunk-IRZXBQVQ.js";
|
|
62
62
|
import {
|
|
63
63
|
getChangedFilesSinceTimestamp,
|
|
64
64
|
getGitChangedFiles,
|
|
@@ -2309,7 +2309,7 @@ function GoalsView() {
|
|
|
2309
2309
|
dispatch({ type: "SET_GOAL_SCANNING", goalId, progress: "Starting scan..." });
|
|
2310
2310
|
dispatch({ type: "ADD_ACTIVITY", message: `Scanning goal: ${goalSummary.description}...` });
|
|
2311
2311
|
dispatch({ type: "SET_GOAL_SCANNING", goalId, progress: "Loading goal configuration..." });
|
|
2312
|
-
const { checkFilesForGoalViolations } = await import("./goal-validator-
|
|
2312
|
+
const { checkFilesForGoalViolations } = await import("./goal-validator-4DDL7NBP.js");
|
|
2313
2313
|
const agentState = getProjectState(workDir);
|
|
2314
2314
|
await agentState.load();
|
|
2315
2315
|
const fullGoal = agentState.getAllGoals().find((g) => g.id === goalId);
|
|
@@ -8268,7 +8268,7 @@ ${truncated}`;
|
|
|
8268
8268
|
const goalId = input.goalId ? String(input.goalId).trim() : void 0;
|
|
8269
8269
|
try {
|
|
8270
8270
|
onProgress?.("Loading goals...");
|
|
8271
|
-
const { getActiveGoals } = await import("./goal-validator-
|
|
8271
|
+
const { getActiveGoals } = await import("./goal-validator-4DDL7NBP.js");
|
|
8272
8272
|
const agentState = getProjectState(directory);
|
|
8273
8273
|
await agentState.load();
|
|
8274
8274
|
const allGoals = await getActiveGoals(directory);
|
|
@@ -8277,7 +8277,7 @@ ${truncated}`;
|
|
|
8277
8277
|
return goalId ? `No active goal found with ID: ${goalId}` : "No active goals to check. Add goals in the Goals view first.";
|
|
8278
8278
|
}
|
|
8279
8279
|
onProgress?.("Scanning codebase for violations...");
|
|
8280
|
-
const { analyzeFilesRapidly } = await import("./fast-analyzer-
|
|
8280
|
+
const { analyzeFilesRapidly } = await import("./fast-analyzer-LLZ6FLP5.js");
|
|
8281
8281
|
const analysisOptions = {
|
|
8282
8282
|
maxFiles: 50,
|
|
8283
8283
|
enableSmartBatching: true
|
|
@@ -9304,7 +9304,7 @@ ${content}
|
|
|
9304
9304
|
fixedContent = fixedContent.replace(/^```\w*\n?/, "").replace(/\n?```$/, "");
|
|
9305
9305
|
}
|
|
9306
9306
|
await writeFile2(fullPath, fixedContent, "utf-8");
|
|
9307
|
-
const { recordGoalViolationFixed, getActiveGoals } = await import("./goal-validator-
|
|
9307
|
+
const { recordGoalViolationFixed, getActiveGoals } = await import("./goal-validator-4DDL7NBP.js");
|
|
9308
9308
|
const goals = await getActiveGoals(projectPath);
|
|
9309
9309
|
const matchedGoal = goals.find((g) => g.description === fix.goalDescription);
|
|
9310
9310
|
if (matchedGoal) {
|
|
@@ -10401,7 +10401,7 @@ ${f.content.slice(0, 1e3)}`
|
|
|
10401
10401
|
if (remaining < 500) return;
|
|
10402
10402
|
try {
|
|
10403
10403
|
const graph = new ContextGraph(projectPath);
|
|
10404
|
-
const { getActiveGoals, recordGoalViolationCaught } = await import("./goal-validator-
|
|
10404
|
+
const { getActiveGoals, recordGoalViolationCaught } = await import("./goal-validator-4DDL7NBP.js");
|
|
10405
10405
|
console.debug("[AI Watcher] Loading active goals...");
|
|
10406
10406
|
const activeGoals = await getActiveGoals(projectPath);
|
|
10407
10407
|
const hasGoals = activeGoals.length > 0;
|
|
@@ -10714,7 +10714,7 @@ ${filesBlock}`,
|
|
|
10714
10714
|
const projectPath = this.watchedDirectory || getWorkingDirectory(void 0, true);
|
|
10715
10715
|
console.debug("[Initial Scan] Starting initial goal compliance scan", { projectPath });
|
|
10716
10716
|
try {
|
|
10717
|
-
const { getActiveGoals, recordGoalViolationCaught } = await import("./goal-validator-
|
|
10717
|
+
const { getActiveGoals, recordGoalViolationCaught } = await import("./goal-validator-4DDL7NBP.js");
|
|
10718
10718
|
const activeGoals = await getActiveGoals(projectPath);
|
|
10719
10719
|
console.debug("[Initial Scan] Loaded goals for initial scan:", {
|
|
10720
10720
|
goalCount: activeGoals.length,
|
|
@@ -10858,7 +10858,7 @@ ${filesBlock}`,
|
|
|
10858
10858
|
}
|
|
10859
10859
|
}
|
|
10860
10860
|
const { resolveGoalViolation } = await import("./issue-store-DUR5UTYK.js");
|
|
10861
|
-
const { recordGoalViolationFixed } = await import("./goal-validator-
|
|
10861
|
+
const { recordGoalViolationFixed } = await import("./goal-validator-4DDL7NBP.js");
|
|
10862
10862
|
const scannedFiles = new Set(issues.map((i) => i.file));
|
|
10863
10863
|
const filesWithViolations = new Set(issuesToStore.map((i) => i.file));
|
|
10864
10864
|
for (const scannedFile of scannedFiles) {
|
|
@@ -11011,7 +11011,7 @@ Use \`trie_watch start\` to begin autonomous scanning.`
|
|
|
11011
11011
|
).join("\n");
|
|
11012
11012
|
let agencyStatus = "";
|
|
11013
11013
|
try {
|
|
11014
|
-
const { getTrieAgent: getTrieAgent2 } = await import("./trie-agent-
|
|
11014
|
+
const { getTrieAgent: getTrieAgent2 } = await import("./trie-agent-XWEJSIYH.js");
|
|
11015
11015
|
const trieAgent = getTrieAgent2(this.watchedDirectory || getWorkingDirectory(void 0, true));
|
|
11016
11016
|
await trieAgent.initialize();
|
|
11017
11017
|
const status = await trieAgent.getAgencyStatus();
|
|
@@ -11148,4 +11148,4 @@ export {
|
|
|
11148
11148
|
InteractiveDashboard,
|
|
11149
11149
|
TrieWatchTool
|
|
11150
11150
|
};
|
|
11151
|
-
//# sourceMappingURL=chunk-
|
|
11151
|
+
//# sourceMappingURL=chunk-BLQ3Z6O3.js.map
|
|
@@ -12,7 +12,10 @@ import {
|
|
|
12
12
|
SlackIntegration,
|
|
13
13
|
findCrossProjectPatterns,
|
|
14
14
|
recordToGlobalMemory
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-UKIDAMAG.js";
|
|
16
|
+
import {
|
|
17
|
+
getStorage
|
|
18
|
+
} from "./chunk-FNZPMR62.js";
|
|
16
19
|
import {
|
|
17
20
|
ContextGraph
|
|
18
21
|
} from "./chunk-VUL52BQL.js";
|
|
@@ -23,9 +26,6 @@ import {
|
|
|
23
26
|
import {
|
|
24
27
|
getProjectState
|
|
25
28
|
} from "./chunk-5BYSJ7XT.js";
|
|
26
|
-
import {
|
|
27
|
-
getStorage
|
|
28
|
-
} from "./chunk-FNZPMR62.js";
|
|
29
29
|
import {
|
|
30
30
|
autoResolveIssues,
|
|
31
31
|
getHistoricalInsights,
|
|
@@ -1810,4 +1810,4 @@ export {
|
|
|
1810
1810
|
TrieAgent,
|
|
1811
1811
|
getTrieAgent
|
|
1812
1812
|
};
|
|
1813
|
-
//# sourceMappingURL=chunk-
|
|
1813
|
+
//# sourceMappingURL=chunk-M4CGCPHR.js.map
|
|
@@ -1,15 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
tryGetClient
|
|
3
|
-
} from "./chunk-FQ45QP5A.js";
|
|
4
|
-
import {
|
|
5
|
-
scanForVulnerabilities
|
|
6
|
-
} from "./chunk-SY6KQG44.js";
|
|
7
|
-
import {
|
|
8
|
-
scanForVibeCodeIssues
|
|
9
|
-
} from "./chunk-OMR4YCBS.js";
|
|
10
1
|
import {
|
|
11
2
|
getStorage
|
|
12
3
|
} from "./chunk-FNZPMR62.js";
|
|
4
|
+
import {
|
|
5
|
+
tryGetClient
|
|
6
|
+
} from "./chunk-FQ45QP5A.js";
|
|
13
7
|
import {
|
|
14
8
|
searchIssues
|
|
15
9
|
} from "./chunk-IRZXBQVQ.js";
|
|
@@ -18,6 +12,12 @@ import {
|
|
|
18
12
|
GlobalPatternsIndexSchema,
|
|
19
13
|
safeParseAndValidate
|
|
20
14
|
} from "./chunk-EFWVF6TI.js";
|
|
15
|
+
import {
|
|
16
|
+
scanForVulnerabilities
|
|
17
|
+
} from "./chunk-SY6KQG44.js";
|
|
18
|
+
import {
|
|
19
|
+
scanForVibeCodeIssues
|
|
20
|
+
} from "./chunk-OMR4YCBS.js";
|
|
21
21
|
import {
|
|
22
22
|
atomicWriteJSON
|
|
23
23
|
} from "./chunk-43X6JBEM.js";
|
|
@@ -821,4 +821,4 @@ export {
|
|
|
821
821
|
SlackIntegration,
|
|
822
822
|
GotchaPredictor
|
|
823
823
|
};
|
|
824
|
-
//# sourceMappingURL=chunk-
|
|
824
|
+
//# sourceMappingURL=chunk-UKIDAMAG.js.map
|
package/dist/cli/main.js
CHANGED
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
isTrieInitialized,
|
|
21
21
|
perceiveCurrentChanges,
|
|
22
22
|
reasonAboutChangesHumanReadable
|
|
23
|
-
} from "../chunk-
|
|
23
|
+
} from "../chunk-62JD7MIS.js";
|
|
24
24
|
import {
|
|
25
25
|
loadConfig,
|
|
26
26
|
saveConfig
|
|
@@ -37,23 +37,32 @@ import {
|
|
|
37
37
|
listTrackedProjects,
|
|
38
38
|
searchGlobalPatterns,
|
|
39
39
|
updateGlobalMemoryMd
|
|
40
|
-
} from "../chunk-
|
|
40
|
+
} from "../chunk-UKIDAMAG.js";
|
|
41
|
+
import {
|
|
42
|
+
getStorage
|
|
43
|
+
} from "../chunk-FNZPMR62.js";
|
|
41
44
|
import {
|
|
42
45
|
ContextGraph
|
|
43
46
|
} from "../chunk-VUL52BQL.js";
|
|
44
47
|
import {
|
|
45
48
|
measureInitialGoalValue
|
|
46
|
-
} from "../chunk-
|
|
49
|
+
} from "../chunk-ACU3IXZG.js";
|
|
47
50
|
import "../chunk-FQ45QP5A.js";
|
|
48
51
|
import {
|
|
49
52
|
getProjectState
|
|
50
53
|
} from "../chunk-5BYSJ7XT.js";
|
|
54
|
+
import {
|
|
55
|
+
getDailyLogs,
|
|
56
|
+
getMemoryStats,
|
|
57
|
+
getRecentIssues,
|
|
58
|
+
markIssueResolved,
|
|
59
|
+
purgeIssues,
|
|
60
|
+
searchIssues
|
|
61
|
+
} from "../chunk-IRZXBQVQ.js";
|
|
62
|
+
import "../chunk-EFWVF6TI.js";
|
|
51
63
|
import "../chunk-SY6KQG44.js";
|
|
52
64
|
import "../chunk-OMR4YCBS.js";
|
|
53
65
|
import "../chunk-6NLHFIYA.js";
|
|
54
|
-
import {
|
|
55
|
-
getStorage
|
|
56
|
-
} from "../chunk-FNZPMR62.js";
|
|
57
66
|
import {
|
|
58
67
|
getAutonomyConfig,
|
|
59
68
|
recordBypass,
|
|
@@ -61,15 +70,6 @@ import {
|
|
|
61
70
|
shouldBlockPush,
|
|
62
71
|
trackIssueOccurrence
|
|
63
72
|
} from "../chunk-ME2OERF5.js";
|
|
64
|
-
import {
|
|
65
|
-
getDailyLogs,
|
|
66
|
-
getMemoryStats,
|
|
67
|
-
getRecentIssues,
|
|
68
|
-
markIssueResolved,
|
|
69
|
-
purgeIssues,
|
|
70
|
-
searchIssues
|
|
71
|
-
} from "../chunk-IRZXBQVQ.js";
|
|
72
|
-
import "../chunk-EFWVF6TI.js";
|
|
73
73
|
import {
|
|
74
74
|
compressOldBlocks,
|
|
75
75
|
correctLedgerEntries,
|
package/dist/cli/yolo-daemon.js
CHANGED
|
@@ -3,9 +3,9 @@ import {
|
|
|
3
3
|
InteractiveDashboard,
|
|
4
4
|
StreamingManager,
|
|
5
5
|
TrieWatchTool
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-BLQ3Z6O3.js";
|
|
7
7
|
import "../chunk-JVMBCWKS.js";
|
|
8
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-M4CGCPHR.js";
|
|
9
9
|
import "../chunk-Q5EKA5YA.js";
|
|
10
10
|
import "../chunk-VR4VWXXU.js";
|
|
11
11
|
import "../chunk-5TRCQAOE.js";
|
|
@@ -13,22 +13,22 @@ import "../chunk-LR46VMIE.js";
|
|
|
13
13
|
import "../chunk-T63OHG4Q.js";
|
|
14
14
|
import {
|
|
15
15
|
isTrieInitialized
|
|
16
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-62JD7MIS.js";
|
|
17
17
|
import "../chunk-GDWA3CH3.js";
|
|
18
18
|
import "../chunk-TN5WEKWI.js";
|
|
19
19
|
import "../chunk-ZV2K6M7T.js";
|
|
20
|
-
import "../chunk-
|
|
20
|
+
import "../chunk-UKIDAMAG.js";
|
|
21
|
+
import "../chunk-FNZPMR62.js";
|
|
21
22
|
import "../chunk-VUL52BQL.js";
|
|
22
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-ACU3IXZG.js";
|
|
23
24
|
import "../chunk-FQ45QP5A.js";
|
|
24
25
|
import "../chunk-5BYSJ7XT.js";
|
|
26
|
+
import "../chunk-IRZXBQVQ.js";
|
|
27
|
+
import "../chunk-EFWVF6TI.js";
|
|
25
28
|
import "../chunk-SY6KQG44.js";
|
|
26
29
|
import "../chunk-OMR4YCBS.js";
|
|
27
30
|
import "../chunk-6NLHFIYA.js";
|
|
28
|
-
import "../chunk-FNZPMR62.js";
|
|
29
31
|
import "../chunk-ME2OERF5.js";
|
|
30
|
-
import "../chunk-IRZXBQVQ.js";
|
|
31
|
-
import "../chunk-EFWVF6TI.js";
|
|
32
32
|
import "../chunk-Y4B3VEL7.js";
|
|
33
33
|
import "../chunk-43X6JBEM.js";
|
|
34
34
|
import {
|
|
@@ -37,7 +37,7 @@ async function analyzeFilesRapidly(goals, projectPath, options = {}) {
|
|
|
37
37
|
onProgress
|
|
38
38
|
);
|
|
39
39
|
} else {
|
|
40
|
-
const { checkFilesForGoalViolations } = await import("./goal-validator-
|
|
40
|
+
const { checkFilesForGoalViolations } = await import("./goal-validator-4DDL7NBP.js");
|
|
41
41
|
newViolations = await checkFilesForGoalViolations(
|
|
42
42
|
goals,
|
|
43
43
|
projectPath,
|
|
@@ -171,7 +171,7 @@ async function analyzeWithSmartBatching(codebaseIndex, filesToScan, goals, proje
|
|
|
171
171
|
const end = Math.min(start + adaptiveBatchSize, filesToScan.length);
|
|
172
172
|
const batchFiles = filesToScan.slice(start, end);
|
|
173
173
|
onProgress?.(`Fast analysis (${i + 1}/${totalBatches}): ${batchFiles.length} files...`);
|
|
174
|
-
const { checkFilesForGoalViolations } = await import("./goal-validator-
|
|
174
|
+
const { checkFilesForGoalViolations } = await import("./goal-validator-4DDL7NBP.js");
|
|
175
175
|
const batchResults = await checkFilesForGoalViolations(
|
|
176
176
|
goals,
|
|
177
177
|
projectPath,
|
|
@@ -213,4 +213,4 @@ export {
|
|
|
213
213
|
analyzeFilesRapidly,
|
|
214
214
|
getAnalysisStats
|
|
215
215
|
};
|
|
216
|
-
//# sourceMappingURL=fast-analyzer-
|
|
216
|
+
//# sourceMappingURL=fast-analyzer-LLZ6FLP5.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
measureInitialGoalValue,
|
|
5
5
|
recordGoalViolationCaught,
|
|
6
6
|
recordGoalViolationFixed
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ACU3IXZG.js";
|
|
8
8
|
import "./chunk-5BYSJ7XT.js";
|
|
9
9
|
import "./chunk-IRZXBQVQ.js";
|
|
10
10
|
import "./chunk-EFWVF6TI.js";
|
|
@@ -20,4 +20,4 @@ export {
|
|
|
20
20
|
recordGoalViolationCaught,
|
|
21
21
|
recordGoalViolationFixed
|
|
22
22
|
};
|
|
23
|
-
//# sourceMappingURL=goal-validator-
|
|
23
|
+
//# sourceMappingURL=goal-validator-4DDL7NBP.js.map
|