@triedotdev/mcp 1.0.38 → 1.0.40

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.
@@ -1,7 +1,11 @@
1
+ import {
2
+ loadProjectInfo,
3
+ projectInfoExists
4
+ } from "./chunk-Q4RVENDE.js";
1
5
  import {
2
6
  CustomAgent,
3
7
  getAgentRegistry
4
- } from "./chunk-HRNBSXN2.js";
8
+ } from "./chunk-B3MBKB2U.js";
5
9
  import {
6
10
  ProgressReporter
7
11
  } from "./chunk-OB45V2QC.js";
@@ -974,8 +978,19 @@ _Run a scan to identify hot files._
974
978
  }
975
979
  async function getContextForAI() {
976
980
  const state = await loadContextState();
977
- const lines = [
978
- "## Trie Context Summary",
981
+ const workDir = getWorkingDirectory(void 0, true);
982
+ const lines = [];
983
+ if (projectInfoExists(workDir)) {
984
+ const projectInfo = await loadProjectInfo(workDir);
985
+ if (projectInfo) {
986
+ lines.push(projectInfo);
987
+ lines.push("");
988
+ lines.push("---");
989
+ lines.push("");
990
+ }
991
+ }
992
+ lines.push(
993
+ "## Trie Scan Context",
979
994
  "",
980
995
  `**Health Score:** ${state.healthScore}%`,
981
996
  `**Last Scan:** ${state.lastScan ? new Date(state.lastScan.timestamp).toLocaleString() : "Never"}`,
@@ -983,7 +998,7 @@ async function getContextForAI() {
983
998
  "**Active Priorities:**",
984
999
  ...state.activePriorities.map((p) => `- ${p}`),
985
1000
  ""
986
- ];
1001
+ );
987
1002
  if (state.lastScan) {
988
1003
  lines.push(
989
1004
  "**Recent Issues:**",
@@ -6912,4 +6927,4 @@ export {
6912
6927
  getContextForAI,
6913
6928
  TrieScanTool
6914
6929
  };
6915
- //# sourceMappingURL=chunk-TGEI55FP.js.map
6930
+ //# sourceMappingURL=chunk-G2GNVUMP.js.map