@triedotdev/mcp 1.0.78 → 1.0.80
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 +27 -2
- package/dist/{chunk-UPKBO5EM.js → chunk-432E2RYB.js} +29 -20
- package/dist/chunk-432E2RYB.js.map +1 -0
- package/dist/{chunk-RRDDAD5N.js → chunk-45NUFTNV.js} +6 -6
- package/dist/{chunk-35FAFFHE.js → chunk-75J4HQTD.js} +2 -2
- package/dist/{chunk-53URTRWH.js → chunk-D3F7VKCN.js} +2 -2
- package/dist/{chunk-P6VLSYXN.js → chunk-EWIEXQES.js} +2 -2
- package/dist/{chunk-LNLLZQWH.js → chunk-KCAWTZ7P.js} +12 -11
- package/dist/{chunk-LNLLZQWH.js.map → chunk-KCAWTZ7P.js.map} +1 -1
- package/dist/{chunk-3RKY55HZ.js → chunk-LKXDJESG.js} +671 -81
- package/dist/chunk-LKXDJESG.js.map +1 -0
- package/dist/{chunk-AIC4HOOQ.js → chunk-U5P3O5G5.js} +3 -3
- package/dist/{chunk-6QKDEGWR.js → chunk-WGECLUDQ.js} +4 -4
- package/dist/chunk-WGECLUDQ.js.map +1 -0
- package/dist/cli/main.js +115 -7
- package/dist/cli/main.js.map +1 -1
- package/dist/cli/yolo-daemon.js +8 -8
- package/dist/{goal-manager-NI4LJ2SX.js → goal-manager-NHPEUWFY.js} +4 -4
- package/dist/{guardian-agent-R5HX7UWJ.js → guardian-agent-UPLAQWJK.js} +6 -6
- package/dist/index.js +39 -41
- package/dist/index.js.map +1 -1
- package/dist/{issue-store-MULGOF6B.js → issue-store-RKJVOKSJ.js} +2 -2
- package/dist/ui/memory-viewer.html +4 -4
- package/dist/ui/pr-review.html +4 -4
- package/dist/ui/scan-dashboard.html +4 -4
- package/dist/ui/visual-qa.html +4 -4
- package/dist/workers/agent-worker.js +3 -3
- package/package.json +1 -1
- package/dist/chunk-3RKY55HZ.js.map +0 -1
- package/dist/chunk-6QKDEGWR.js.map +0 -1
- package/dist/chunk-UPKBO5EM.js.map +0 -1
- /package/dist/{chunk-RRDDAD5N.js.map → chunk-45NUFTNV.js.map} +0 -0
- /package/dist/{chunk-35FAFFHE.js.map → chunk-75J4HQTD.js.map} +0 -0
- /package/dist/{chunk-53URTRWH.js.map → chunk-D3F7VKCN.js.map} +0 -0
- /package/dist/{chunk-P6VLSYXN.js.map → chunk-EWIEXQES.js.map} +0 -0
- /package/dist/{chunk-AIC4HOOQ.js.map → chunk-U5P3O5G5.js.map} +0 -0
- /package/dist/{goal-manager-NI4LJ2SX.js.map → goal-manager-NHPEUWFY.js.map} +0 -0
- /package/dist/{guardian-agent-R5HX7UWJ.js.map → guardian-agent-UPLAQWJK.js.map} +0 -0
- /package/dist/{issue-store-MULGOF6B.js.map → issue-store-RKJVOKSJ.js.map} +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getGoalManager,
|
|
3
3
|
getInsightStore
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-U5P3O5G5.js";
|
|
5
5
|
import {
|
|
6
6
|
getGuardianState
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-75J4HQTD.js";
|
|
8
8
|
import {
|
|
9
9
|
findCrossProjectPatterns,
|
|
10
10
|
recordToGlobalMemory
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-EWIEXQES.js";
|
|
12
12
|
import {
|
|
13
13
|
isAIAvailable,
|
|
14
14
|
runAIAnalysis
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
getHistoricalInsights,
|
|
18
18
|
searchIssues,
|
|
19
19
|
storeIssues
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-WGECLUDQ.js";
|
|
21
21
|
|
|
22
22
|
// src/guardian/guardian-agent.ts
|
|
23
23
|
import { basename as basename2 } from "path";
|
|
@@ -2329,7 +2329,7 @@ var GuardianAgent = class {
|
|
|
2329
2329
|
await this.guardianState.recordScan();
|
|
2330
2330
|
try {
|
|
2331
2331
|
const riskLevel = issues.filter((i) => i.severity === "critical").length > 0 ? "critical" : issues.filter((i) => i.severity === "serious").length >= 3 ? "high" : issues.length > 10 ? "medium" : "low";
|
|
2332
|
-
const { calculateAdaptiveScanFrequency } = await import("./goal-manager-
|
|
2332
|
+
const { calculateAdaptiveScanFrequency } = await import("./goal-manager-NHPEUWFY.js");
|
|
2333
2333
|
const result = await calculateAdaptiveScanFrequency(riskLevel);
|
|
2334
2334
|
await this.guardianState.setScanFrequency(result.frequencyMs);
|
|
2335
2335
|
} catch {
|
|
@@ -2563,4 +2563,4 @@ export {
|
|
|
2563
2563
|
GuardianAgent,
|
|
2564
2564
|
getGuardian
|
|
2565
2565
|
};
|
|
2566
|
-
//# sourceMappingURL=chunk-
|
|
2566
|
+
//# sourceMappingURL=chunk-45NUFTNV.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
BackupManager,
|
|
3
3
|
atomicWriteJSON,
|
|
4
4
|
safeParseAndValidate
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-WGECLUDQ.js";
|
|
6
6
|
|
|
7
7
|
// src/guardian/guardian-state.ts
|
|
8
8
|
import { mkdir, readFile } from "fs/promises";
|
|
@@ -676,4 +676,4 @@ function getGuardianState(projectPath) {
|
|
|
676
676
|
export {
|
|
677
677
|
getGuardianState
|
|
678
678
|
};
|
|
679
|
-
//# sourceMappingURL=chunk-
|
|
679
|
+
//# sourceMappingURL=chunk-75J4HQTD.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
getStagedChanges,
|
|
6
6
|
getUncommittedChanges,
|
|
7
7
|
getWorkingTreeDiff
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-KCAWTZ7P.js";
|
|
9
9
|
import {
|
|
10
10
|
Trie
|
|
11
11
|
} from "./chunk-6NLHFIYA.js";
|
|
@@ -1828,4 +1828,4 @@ export {
|
|
|
1828
1828
|
IncidentIndex,
|
|
1829
1829
|
TrieFeedbackTool
|
|
1830
1830
|
};
|
|
1831
|
-
//# sourceMappingURL=chunk-
|
|
1831
|
+
//# sourceMappingURL=chunk-D3F7VKCN.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
GlobalPatternsIndexSchema,
|
|
4
4
|
atomicWriteJSON,
|
|
5
5
|
safeParseAndValidate
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-WGECLUDQ.js";
|
|
7
7
|
|
|
8
8
|
// src/memory/global-memory.ts
|
|
9
9
|
import { mkdir, writeFile, readFile, readdir } from "fs/promises";
|
|
@@ -263,4 +263,4 @@ export {
|
|
|
263
263
|
updateGlobalMemoryMd,
|
|
264
264
|
searchGlobalPatterns
|
|
265
265
|
};
|
|
266
|
-
//# sourceMappingURL=chunk-
|
|
266
|
+
//# sourceMappingURL=chunk-EWIEXQES.js.map
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CustomSkill,
|
|
3
3
|
getSkillRegistry,
|
|
4
|
-
loadContextState
|
|
5
|
-
|
|
4
|
+
loadContextState,
|
|
5
|
+
runExecFile
|
|
6
|
+
} from "./chunk-LKXDJESG.js";
|
|
6
7
|
import {
|
|
7
8
|
getGlobalMemoryStats
|
|
8
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-EWIEXQES.js";
|
|
9
10
|
import {
|
|
10
11
|
getHistoricalInsights,
|
|
11
12
|
getMemoryStats,
|
|
12
13
|
getRecentIssues
|
|
13
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-WGECLUDQ.js";
|
|
14
15
|
import {
|
|
15
16
|
getWorkingDirectory
|
|
16
17
|
} from "./chunk-CM7EHNQK.js";
|
|
@@ -1666,16 +1667,16 @@ function getSkillCategories() {
|
|
|
1666
1667
|
}
|
|
1667
1668
|
|
|
1668
1669
|
// src/agent/git.ts
|
|
1669
|
-
import { execFile } from "child_process";
|
|
1670
1670
|
import { existsSync as existsSync4 } from "fs";
|
|
1671
1671
|
import path from "path";
|
|
1672
|
-
import { promisify } from "util";
|
|
1673
|
-
var execFileAsync = promisify(execFile);
|
|
1674
1672
|
async function execGit(args, cwd) {
|
|
1675
1673
|
try {
|
|
1676
|
-
const { stdout } = await
|
|
1677
|
-
|
|
1678
|
-
|
|
1674
|
+
const { stdout } = await runExecFile(
|
|
1675
|
+
"git",
|
|
1676
|
+
["-C", cwd, ...args],
|
|
1677
|
+
{ actor: "internal:git", triggeredBy: "manual", targetPath: cwd },
|
|
1678
|
+
{ maxBuffer: 10 * 1024 * 1024, captureOutput: false }
|
|
1679
|
+
);
|
|
1679
1680
|
return stdout.trim();
|
|
1680
1681
|
} catch (error) {
|
|
1681
1682
|
const stderr = error?.stderr?.toString();
|
|
@@ -1779,4 +1780,4 @@ export {
|
|
|
1779
1780
|
getSkillsByCategory,
|
|
1780
1781
|
getSkillCategories
|
|
1781
1782
|
};
|
|
1782
|
-
//# sourceMappingURL=chunk-
|
|
1783
|
+
//# sourceMappingURL=chunk-KCAWTZ7P.js.map
|