@triedotdev/mcp 1.0.93 → 1.0.94

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.
Files changed (71) hide show
  1. package/dist/{agent-smith-QYDXPFPJ.js → agent-smith-MYQ35URL.js} +5 -5
  2. package/dist/{agent-smith-runner-GXGDJTSR.js → agent-smith-runner-4TBONXCP.js} +5 -5
  3. package/dist/cache-manager-RMPRPD5T.js +10 -0
  4. package/dist/{chunk-YTJXD664.js → chunk-AZRCKBGF.js} +8 -8
  5. package/dist/{chunk-NMGINYYX.js → chunk-CKM6A3G6.js} +4 -4
  6. package/dist/{chunk-BG2BHWCC.js → chunk-E2ZATINO.js} +10 -10
  7. package/dist/{chunk-LT7MKIXU.js → chunk-FFWNZUG2.js} +2 -2
  8. package/dist/{chunk-IOUOVBJZ.js → chunk-FK6DQKDY.js} +2 -2
  9. package/dist/{chunk-MZI46HQT.js → chunk-HLSBTOVE.js} +8 -8
  10. package/dist/{chunk-MURGTWG4.js → chunk-IFGF33R5.js} +2 -2
  11. package/dist/{chunk-R6AUYN3R.js → chunk-IIF5XDCJ.js} +47 -21
  12. package/dist/chunk-IIF5XDCJ.js.map +1 -0
  13. package/dist/chunk-JAAIHNOE.js +298 -0
  14. package/dist/chunk-JAAIHNOE.js.map +1 -0
  15. package/dist/{chunk-5Z7O66DE.js → chunk-JO6RVXS6.js} +2 -2
  16. package/dist/{chunk-74NPKTZV.js → chunk-ODWDESYP.js} +2 -2
  17. package/dist/{chunk-LP4MVJDW.js → chunk-OEYIOOYB.js} +2 -2
  18. package/dist/{chunk-SJFJ6GLR.js → chunk-OWBWNXSC.js} +2 -2
  19. package/dist/{chunk-CUXXRM3T.js → chunk-Q764X2WD.js} +7 -7
  20. package/dist/{chunk-HFQ5ORON.js → chunk-RE6ZWXJC.js} +3 -3
  21. package/dist/{chunk-KWDNYWOR.js → chunk-RNJ6JKMA.js} +4 -4
  22. package/dist/{chunk-T5UOH56R.js → chunk-RYRVEO2B.js} +3 -3
  23. package/dist/{chunk-LVVG2DMW.js → chunk-STEFLYPR.js} +2 -2
  24. package/dist/{chunk-RDOJCRKJ.js → chunk-WT3XQCG2.js} +2 -2
  25. package/dist/{chunk-F55XBLIA.js → chunk-Y62VM3ER.js} +6 -6
  26. package/dist/cli/create-agent.js +3 -3
  27. package/dist/cli/main.js +16 -16
  28. package/dist/cli/yolo-daemon.js +18 -18
  29. package/dist/{git-PZV3BBYI.js → git-45LZUUYA.js} +5 -5
  30. package/dist/{goal-manager-ESJCJXFS.js → goal-manager-HOZ7R2QV.js} +6 -6
  31. package/dist/guardian-agent-RB2UQP5V.js +21 -0
  32. package/dist/index.js +25 -25
  33. package/dist/{issue-store-JZ2LCQEG.js → issue-store-DXIOP6AK.js} +4 -4
  34. package/dist/{progress-PH6NNWZM.js → progress-LHI66U7B.js} +2 -2
  35. package/dist/{vibe-code-signatures-K4UIWKJZ.js → vibe-code-signatures-C5A4BHXD.js} +3 -3
  36. package/dist/{vulnerability-signatures-ZKVLMBRG.js → vulnerability-signatures-SVIHJQO5.js} +3 -3
  37. package/dist/workers/agent-worker.js +9 -9
  38. package/package.json +1 -1
  39. package/dist/cache-manager-7SKX3IGO.js +0 -10
  40. package/dist/chunk-D25EIBPO.js +0 -183
  41. package/dist/chunk-D25EIBPO.js.map +0 -1
  42. package/dist/chunk-R6AUYN3R.js.map +0 -1
  43. package/dist/guardian-agent-ZHJXLBOU.js +0 -21
  44. /package/dist/{agent-smith-QYDXPFPJ.js.map → agent-smith-MYQ35URL.js.map} +0 -0
  45. /package/dist/{agent-smith-runner-GXGDJTSR.js.map → agent-smith-runner-4TBONXCP.js.map} +0 -0
  46. /package/dist/{cache-manager-7SKX3IGO.js.map → cache-manager-RMPRPD5T.js.map} +0 -0
  47. /package/dist/{chunk-YTJXD664.js.map → chunk-AZRCKBGF.js.map} +0 -0
  48. /package/dist/{chunk-NMGINYYX.js.map → chunk-CKM6A3G6.js.map} +0 -0
  49. /package/dist/{chunk-BG2BHWCC.js.map → chunk-E2ZATINO.js.map} +0 -0
  50. /package/dist/{chunk-LT7MKIXU.js.map → chunk-FFWNZUG2.js.map} +0 -0
  51. /package/dist/{chunk-IOUOVBJZ.js.map → chunk-FK6DQKDY.js.map} +0 -0
  52. /package/dist/{chunk-MZI46HQT.js.map → chunk-HLSBTOVE.js.map} +0 -0
  53. /package/dist/{chunk-MURGTWG4.js.map → chunk-IFGF33R5.js.map} +0 -0
  54. /package/dist/{chunk-5Z7O66DE.js.map → chunk-JO6RVXS6.js.map} +0 -0
  55. /package/dist/{chunk-74NPKTZV.js.map → chunk-ODWDESYP.js.map} +0 -0
  56. /package/dist/{chunk-LP4MVJDW.js.map → chunk-OEYIOOYB.js.map} +0 -0
  57. /package/dist/{chunk-SJFJ6GLR.js.map → chunk-OWBWNXSC.js.map} +0 -0
  58. /package/dist/{chunk-CUXXRM3T.js.map → chunk-Q764X2WD.js.map} +0 -0
  59. /package/dist/{chunk-HFQ5ORON.js.map → chunk-RE6ZWXJC.js.map} +0 -0
  60. /package/dist/{chunk-KWDNYWOR.js.map → chunk-RNJ6JKMA.js.map} +0 -0
  61. /package/dist/{chunk-T5UOH56R.js.map → chunk-RYRVEO2B.js.map} +0 -0
  62. /package/dist/{chunk-LVVG2DMW.js.map → chunk-STEFLYPR.js.map} +0 -0
  63. /package/dist/{chunk-RDOJCRKJ.js.map → chunk-WT3XQCG2.js.map} +0 -0
  64. /package/dist/{chunk-F55XBLIA.js.map → chunk-Y62VM3ER.js.map} +0 -0
  65. /package/dist/{git-PZV3BBYI.js.map → git-45LZUUYA.js.map} +0 -0
  66. /package/dist/{goal-manager-ESJCJXFS.js.map → goal-manager-HOZ7R2QV.js.map} +0 -0
  67. /package/dist/{guardian-agent-ZHJXLBOU.js.map → guardian-agent-RB2UQP5V.js.map} +0 -0
  68. /package/dist/{issue-store-JZ2LCQEG.js.map → issue-store-DXIOP6AK.js.map} +0 -0
  69. /package/dist/{progress-PH6NNWZM.js.map → progress-LHI66U7B.js.map} +0 -0
  70. /package/dist/{vibe-code-signatures-K4UIWKJZ.js.map → vibe-code-signatures-C5A4BHXD.js.map} +0 -0
  71. /package/dist/{vulnerability-signatures-ZKVLMBRG.js.map → vulnerability-signatures-SVIHJQO5.js.map} +0 -0
@@ -3,32 +3,32 @@ import {
3
3
  InteractiveDashboard,
4
4
  StreamingManager,
5
5
  TrieScanTool
6
- } from "../chunk-R6AUYN3R.js";
7
- import "../chunk-MZI46HQT.js";
8
- import "../chunk-NMGINYYX.js";
6
+ } from "../chunk-IIF5XDCJ.js";
7
+ import "../chunk-HLSBTOVE.js";
8
+ import "../chunk-CKM6A3G6.js";
9
9
  import {
10
10
  isTrieInitialized
11
- } from "../chunk-CUXXRM3T.js";
12
- import "../chunk-HFQ5ORON.js";
13
- import "../chunk-IOUOVBJZ.js";
14
- import "../chunk-F55XBLIA.js";
15
- import "../chunk-5Z7O66DE.js";
16
- import "../chunk-T5UOH56R.js";
17
- import "../chunk-BG2BHWCC.js";
18
- import "../chunk-MURGTWG4.js";
19
- import "../chunk-LT7MKIXU.js";
20
- import "../chunk-LP4MVJDW.js";
21
- import "../chunk-LVVG2DMW.js";
11
+ } from "../chunk-Q764X2WD.js";
12
+ import "../chunk-RE6ZWXJC.js";
13
+ import "../chunk-FK6DQKDY.js";
14
+ import "../chunk-Y62VM3ER.js";
15
+ import "../chunk-JO6RVXS6.js";
16
+ import "../chunk-RYRVEO2B.js";
17
+ import "../chunk-E2ZATINO.js";
18
+ import "../chunk-IFGF33R5.js";
19
+ import "../chunk-FFWNZUG2.js";
20
+ import "../chunk-OEYIOOYB.js";
21
+ import "../chunk-STEFLYPR.js";
22
22
  import "../chunk-6NLHFIYA.js";
23
- import "../chunk-KWDNYWOR.js";
24
- import "../chunk-74NPKTZV.js";
23
+ import "../chunk-RNJ6JKMA.js";
24
+ import "../chunk-ODWDESYP.js";
25
25
  import {
26
26
  getWorkingDirectory
27
- } from "../chunk-RDOJCRKJ.js";
27
+ } from "../chunk-WT3XQCG2.js";
28
28
  import {
29
29
  isInteractiveMode,
30
30
  setInteractiveMode
31
- } from "../chunk-D25EIBPO.js";
31
+ } from "../chunk-JAAIHNOE.js";
32
32
  import "../chunk-DGUM43GV.js";
33
33
 
34
34
  // src/cli/yolo-daemon.ts
@@ -9,10 +9,10 @@ import {
9
9
  getWorkingTreeDiff,
10
10
  isGitRepo,
11
11
  resolveRepoPath
12
- } from "./chunk-IOUOVBJZ.js";
13
- import "./chunk-MURGTWG4.js";
14
- import "./chunk-RDOJCRKJ.js";
15
- import "./chunk-D25EIBPO.js";
12
+ } from "./chunk-FK6DQKDY.js";
13
+ import "./chunk-IFGF33R5.js";
14
+ import "./chunk-WT3XQCG2.js";
15
+ import "./chunk-JAAIHNOE.js";
16
16
  import "./chunk-DGUM43GV.js";
17
17
  export {
18
18
  getChangedFilesSinceTimestamp,
@@ -26,4 +26,4 @@ export {
26
26
  isGitRepo,
27
27
  resolveRepoPath
28
28
  };
29
- //# sourceMappingURL=git-PZV3BBYI.js.map
29
+ //# sourceMappingURL=git-45LZUUYA.js.map
@@ -4,11 +4,11 @@ import {
4
4
  calculateAdaptiveScanFrequency,
5
5
  clearGoalManagers,
6
6
  getGoalManager
7
- } from "./chunk-NMGINYYX.js";
8
- import "./chunk-T5UOH56R.js";
9
- import "./chunk-LP4MVJDW.js";
10
- import "./chunk-RDOJCRKJ.js";
11
- import "./chunk-D25EIBPO.js";
7
+ } from "./chunk-CKM6A3G6.js";
8
+ import "./chunk-RYRVEO2B.js";
9
+ import "./chunk-OEYIOOYB.js";
10
+ import "./chunk-WT3XQCG2.js";
11
+ import "./chunk-JAAIHNOE.js";
12
12
  import "./chunk-DGUM43GV.js";
13
13
  export {
14
14
  GoalManager,
@@ -17,4 +17,4 @@ export {
17
17
  clearGoalManagers,
18
18
  getGoalManager
19
19
  };
20
- //# sourceMappingURL=goal-manager-ESJCJXFS.js.map
20
+ //# sourceMappingURL=goal-manager-HOZ7R2QV.js.map
@@ -0,0 +1,21 @@
1
+ import {
2
+ GuardianAgent,
3
+ getGuardian
4
+ } from "./chunk-HLSBTOVE.js";
5
+ import "./chunk-CKM6A3G6.js";
6
+ import "./chunk-Y62VM3ER.js";
7
+ import "./chunk-JO6RVXS6.js";
8
+ import "./chunk-RYRVEO2B.js";
9
+ import "./chunk-FFWNZUG2.js";
10
+ import "./chunk-OEYIOOYB.js";
11
+ import "./chunk-STEFLYPR.js";
12
+ import "./chunk-6NLHFIYA.js";
13
+ import "./chunk-ODWDESYP.js";
14
+ import "./chunk-WT3XQCG2.js";
15
+ import "./chunk-JAAIHNOE.js";
16
+ import "./chunk-DGUM43GV.js";
17
+ export {
18
+ GuardianAgent,
19
+ getGuardian
20
+ };
21
+ //# sourceMappingURL=guardian-agent-RB2UQP5V.js.map
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  listCustomAgents,
4
4
  loadAgentConfig,
5
5
  parseDocument
6
- } from "./chunk-SJFJ6GLR.js";
6
+ } from "./chunk-OWBWNXSC.js";
7
7
  import {
8
8
  IncidentIndex,
9
9
  LearningEngine,
@@ -24,25 +24,25 @@ import {
24
24
  reasonAboutChangesHumanReadable,
25
25
  saveCheckpoint,
26
26
  trackIssueOccurrence
27
- } from "./chunk-YTJXD664.js";
27
+ } from "./chunk-AZRCKBGF.js";
28
28
  import {
29
29
  InteractiveDashboard,
30
30
  StreamingManager,
31
31
  TrieScanTool
32
- } from "./chunk-R6AUYN3R.js";
33
- import "./chunk-MZI46HQT.js";
34
- import "./chunk-NMGINYYX.js";
32
+ } from "./chunk-IIF5XDCJ.js";
33
+ import "./chunk-HLSBTOVE.js";
34
+ import "./chunk-CKM6A3G6.js";
35
35
  import {
36
36
  isTrieInitialized,
37
37
  loadConfig
38
- } from "./chunk-CUXXRM3T.js";
39
- import "./chunk-HFQ5ORON.js";
40
- import "./chunk-IOUOVBJZ.js";
38
+ } from "./chunk-Q764X2WD.js";
39
+ import "./chunk-RE6ZWXJC.js";
40
+ import "./chunk-FK6DQKDY.js";
41
41
  import {
42
42
  ContextGraph
43
- } from "./chunk-F55XBLIA.js";
44
- import "./chunk-5Z7O66DE.js";
45
- import "./chunk-T5UOH56R.js";
43
+ } from "./chunk-Y62VM3ER.js";
44
+ import "./chunk-JO6RVXS6.js";
45
+ import "./chunk-RYRVEO2B.js";
46
46
  import {
47
47
  CRITICAL_REVIEW_CHECKLIST,
48
48
  SuperReviewerSkill,
@@ -58,16 +58,16 @@ import {
58
58
  loadProjectInfo,
59
59
  projectInfoExists,
60
60
  updateProjectSection
61
- } from "./chunk-BG2BHWCC.js";
61
+ } from "./chunk-E2ZATINO.js";
62
62
  import {
63
63
  runShellCommandSync
64
- } from "./chunk-MURGTWG4.js";
64
+ } from "./chunk-IFGF33R5.js";
65
65
  import {
66
66
  findCrossProjectPatterns,
67
67
  getGlobalMemoryStats,
68
68
  listTrackedProjects,
69
69
  searchGlobalPatterns
70
- } from "./chunk-LT7MKIXU.js";
70
+ } from "./chunk-FFWNZUG2.js";
71
71
  import {
72
72
  findSimilarIssues,
73
73
  getMemoryStats,
@@ -75,20 +75,20 @@ import {
75
75
  markIssueResolved,
76
76
  purgeIssues,
77
77
  searchIssues
78
- } from "./chunk-LP4MVJDW.js";
79
- import "./chunk-LVVG2DMW.js";
78
+ } from "./chunk-OEYIOOYB.js";
79
+ import "./chunk-STEFLYPR.js";
80
80
  import "./chunk-6NLHFIYA.js";
81
81
  import {
82
82
  getOutputManager
83
- } from "./chunk-KWDNYWOR.js";
84
- import "./chunk-74NPKTZV.js";
83
+ } from "./chunk-RNJ6JKMA.js";
84
+ import "./chunk-ODWDESYP.js";
85
85
  import {
86
86
  getTrieDirectory,
87
87
  getWorkingDirectory
88
- } from "./chunk-RDOJCRKJ.js";
88
+ } from "./chunk-WT3XQCG2.js";
89
89
  import {
90
90
  isInteractiveMode
91
- } from "./chunk-D25EIBPO.js";
91
+ } from "./chunk-JAAIHNOE.js";
92
92
  import "./chunk-DGUM43GV.js";
93
93
 
94
94
  // src/server/mcp-server.ts
@@ -2972,7 +2972,7 @@ Use \`trie_watch start\` to begin autonomous scanning.`
2972
2972
  ).join("\n");
2973
2973
  let agencyStatus = "";
2974
2974
  try {
2975
- const { getGuardian } = await import("./guardian-agent-ZHJXLBOU.js");
2975
+ const { getGuardian } = await import("./guardian-agent-RB2UQP5V.js");
2976
2976
  const guardian = getGuardian(getWorkingDirectory(void 0, true));
2977
2977
  await guardian.initialize();
2978
2978
  const status = await guardian.getAgencyStatus();
@@ -6813,8 +6813,8 @@ This information is automatically available to Claude Code, Cursor, and other AI
6813
6813
  }
6814
6814
  }
6815
6815
  async getSignaturesResource(uri) {
6816
- const { getVulnerabilityStats } = await import("./vulnerability-signatures-ZKVLMBRG.js");
6817
- const { getVibeCodeStats } = await import("./vibe-code-signatures-K4UIWKJZ.js");
6816
+ const { getVulnerabilityStats } = await import("./vulnerability-signatures-SVIHJQO5.js");
6817
+ const { getVibeCodeStats } = await import("./vibe-code-signatures-C5A4BHXD.js");
6818
6818
  const vulnStats = getVulnerabilityStats();
6819
6819
  const vibeStats = getVibeCodeStats();
6820
6820
  return {
@@ -7547,7 +7547,7 @@ npx playwright install chromium
7547
7547
  };
7548
7548
  }
7549
7549
  async handleAgentSmith(smithArgs) {
7550
- const { AgentSmithSkill } = await import("./agent-smith-QYDXPFPJ.js");
7550
+ const { AgentSmithSkill } = await import("./agent-smith-MYQ35URL.js");
7551
7551
  if (smithArgs.clear_memory) {
7552
7552
  const smith = new AgentSmithSkill();
7553
7553
  const result = await smith.clearMemory();
@@ -7575,7 +7575,7 @@ npx playwright install chromium
7575
7575
  }]
7576
7576
  };
7577
7577
  }
7578
- const agentSmithRunner = await import("./agent-smith-runner-GXGDJTSR.js");
7578
+ const agentSmithRunner = await import("./agent-smith-runner-4TBONXCP.js");
7579
7579
  return await agentSmithRunner.runAgentSmith(smithArgs);
7580
7580
  }
7581
7581
  };
@@ -9,9 +9,9 @@ import {
9
9
  purgeIssues,
10
10
  searchIssues,
11
11
  storeIssues
12
- } from "./chunk-LP4MVJDW.js";
13
- import "./chunk-RDOJCRKJ.js";
14
- import "./chunk-D25EIBPO.js";
12
+ } from "./chunk-OEYIOOYB.js";
13
+ import "./chunk-WT3XQCG2.js";
14
+ import "./chunk-JAAIHNOE.js";
15
15
  import "./chunk-DGUM43GV.js";
16
16
  export {
17
17
  autoResolveIssues,
@@ -25,4 +25,4 @@ export {
25
25
  searchIssues,
26
26
  storeIssues
27
27
  };
28
- //# sourceMappingURL=issue-store-JZ2LCQEG.js.map
28
+ //# sourceMappingURL=issue-store-DXIOP6AK.js.map
@@ -5,7 +5,7 @@ import {
5
5
  isInteractiveMode,
6
6
  resetProgressReporter,
7
7
  setInteractiveMode
8
- } from "./chunk-D25EIBPO.js";
8
+ } from "./chunk-JAAIHNOE.js";
9
9
  import "./chunk-DGUM43GV.js";
10
10
  export {
11
11
  AgentProgressReporter,
@@ -15,4 +15,4 @@ export {
15
15
  resetProgressReporter,
16
16
  setInteractiveMode
17
17
  };
18
- //# sourceMappingURL=progress-PH6NNWZM.js.map
18
+ //# sourceMappingURL=progress-LHI66U7B.js.map
@@ -3,9 +3,9 @@ import {
3
3
  getVibeCodeStats,
4
4
  getVibeCodeTrie,
5
5
  scanForVibeCodeIssues
6
- } from "./chunk-LVVG2DMW.js";
6
+ } from "./chunk-STEFLYPR.js";
7
7
  import "./chunk-6NLHFIYA.js";
8
- import "./chunk-D25EIBPO.js";
8
+ import "./chunk-JAAIHNOE.js";
9
9
  import "./chunk-DGUM43GV.js";
10
10
  export {
11
11
  checkFileLevelIssues,
@@ -13,4 +13,4 @@ export {
13
13
  getVibeCodeTrie,
14
14
  scanForVibeCodeIssues
15
15
  };
16
- //# sourceMappingURL=vibe-code-signatures-K4UIWKJZ.js.map
16
+ //# sourceMappingURL=vibe-code-signatures-C5A4BHXD.js.map
@@ -4,9 +4,9 @@ import {
4
4
  scanForVulnerabilities,
5
5
  shouldAlwaysExcludeFile,
6
6
  shouldExcludeFile
7
- } from "./chunk-5Z7O66DE.js";
7
+ } from "./chunk-JO6RVXS6.js";
8
8
  import "./chunk-6NLHFIYA.js";
9
- import "./chunk-D25EIBPO.js";
9
+ import "./chunk-JAAIHNOE.js";
10
10
  import "./chunk-DGUM43GV.js";
11
11
  export {
12
12
  getVulnerabilityStats,
@@ -15,4 +15,4 @@ export {
15
15
  shouldAlwaysExcludeFile,
16
16
  shouldExcludeFile
17
17
  };
18
- //# sourceMappingURL=vulnerability-signatures-ZKVLMBRG.js.map
18
+ //# sourceMappingURL=vulnerability-signatures-SVIHJQO5.js.map
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  getSkillRegistry
3
- } from "../chunk-BG2BHWCC.js";
4
- import "../chunk-MURGTWG4.js";
5
- import "../chunk-LT7MKIXU.js";
6
- import "../chunk-LP4MVJDW.js";
7
- import "../chunk-LVVG2DMW.js";
3
+ } from "../chunk-E2ZATINO.js";
4
+ import "../chunk-IFGF33R5.js";
5
+ import "../chunk-FFWNZUG2.js";
6
+ import "../chunk-OEYIOOYB.js";
7
+ import "../chunk-STEFLYPR.js";
8
8
  import "../chunk-6NLHFIYA.js";
9
- import "../chunk-KWDNYWOR.js";
10
- import "../chunk-74NPKTZV.js";
11
- import "../chunk-RDOJCRKJ.js";
12
- import "../chunk-D25EIBPO.js";
9
+ import "../chunk-RNJ6JKMA.js";
10
+ import "../chunk-ODWDESYP.js";
11
+ import "../chunk-WT3XQCG2.js";
12
+ import "../chunk-JAAIHNOE.js";
13
13
  import "../chunk-DGUM43GV.js";
14
14
 
15
15
  // src/workers/agent-worker.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@triedotdev/mcp",
3
- "version": "1.0.93",
3
+ "version": "1.0.94",
4
4
  "description": "Intelligent Agent Orchestration for AI Coding Tools",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -1,10 +0,0 @@
1
- import {
2
- CacheManager
3
- } from "./chunk-HFQ5ORON.js";
4
- import "./chunk-RDOJCRKJ.js";
5
- import "./chunk-D25EIBPO.js";
6
- import "./chunk-DGUM43GV.js";
7
- export {
8
- CacheManager
9
- };
10
- //# sourceMappingURL=cache-manager-7SKX3IGO.js.map
@@ -1,183 +0,0 @@
1
- // src/utils/progress.ts
2
- var _interactiveMode = false;
3
- function setInteractiveMode(enabled) {
4
- _interactiveMode = enabled;
5
- }
6
- function isInteractiveMode() {
7
- return _interactiveMode;
8
- }
9
- var ProgressReporter = class {
10
- currentPhase = "init";
11
- startTime = Date.now();
12
- phaseStartTime = Date.now();
13
- verbose;
14
- constructor(options = {}) {
15
- this.verbose = options.verbose ?? true;
16
- }
17
- /**
18
- * Report a status update
19
- */
20
- report(message, detail) {
21
- if (!this.verbose || _interactiveMode) return;
22
- const prefix = this.getPhaseIcon(this.currentPhase);
23
- const fullMessage = detail ? `${message}: ${detail}` : message;
24
- console.error(`${prefix} ${fullMessage}`);
25
- }
26
- /**
27
- * Start a new phase
28
- */
29
- startPhase(phase, message) {
30
- this.currentPhase = phase;
31
- this.phaseStartTime = Date.now();
32
- this.report(message);
33
- }
34
- /**
35
- * Update within current phase
36
- */
37
- update(message, detail) {
38
- this.report(message, detail);
39
- }
40
- /**
41
- * Report progress on a file
42
- */
43
- file(action, filePath) {
44
- const fileName = filePath.split("/").pop() || filePath;
45
- this.report(action, fileName);
46
- }
47
- /**
48
- * Report an AI analysis step
49
- */
50
- ai(action, context) {
51
- if (_interactiveMode) return;
52
- const prefix = "[AI]";
53
- const message = context ? `${action}: ${context}` : action;
54
- console.error(`${prefix} ${message}`);
55
- }
56
- /**
57
- * Report a finding
58
- */
59
- finding(severity, message) {
60
- if (_interactiveMode) return;
61
- const labels = {
62
- critical: "[CRITICAL]",
63
- serious: "[SERIOUS]",
64
- moderate: "[MODERATE]",
65
- low: "[LOW]"
66
- };
67
- console.error(` ${labels[severity]} ${message}`);
68
- }
69
- /**
70
- * Complete current phase
71
- */
72
- completePhase(summary) {
73
- const elapsed = Date.now() - this.phaseStartTime;
74
- this.report(`Done: ${summary}`, `(${elapsed}ms)`);
75
- }
76
- /**
77
- * Complete the entire operation
78
- */
79
- complete(summary) {
80
- if (_interactiveMode) return;
81
- const totalElapsed = Date.now() - this.startTime;
82
- console.error("");
83
- console.error(`----------------------------------------`);
84
- console.error(`[COMPLETE] ${summary}`);
85
- console.error(` Total time: ${(totalElapsed / 1e3).toFixed(2)}s`);
86
- console.error(`----------------------------------------`);
87
- console.error("");
88
- }
89
- /**
90
- * Report an error
91
- */
92
- error(message, detail) {
93
- if (_interactiveMode) return;
94
- const fullMessage = detail ? `${message}: ${detail}` : message;
95
- console.error(`[ERROR] ${fullMessage}`);
96
- }
97
- /**
98
- * Report a warning
99
- */
100
- warn(message, detail) {
101
- if (_interactiveMode) return;
102
- const fullMessage = detail ? `${message}: ${detail}` : message;
103
- console.error(`[WARN] ${fullMessage}`);
104
- }
105
- /**
106
- * Get icon for current phase
107
- */
108
- getPhaseIcon(phase) {
109
- const icons = {
110
- "init": ">>",
111
- "discovery": ">>",
112
- "reading": ">>",
113
- "analyzing": ">>",
114
- "ai-review": "[AI]",
115
- "prioritizing": ">>",
116
- "complete": "[OK]"
117
- };
118
- return icons[phase] || ">>";
119
- }
120
- /**
121
- * Create a sub-reporter for a specific agent
122
- */
123
- forAgent(agentName) {
124
- return new AgentProgressReporter(agentName, this.verbose);
125
- }
126
- };
127
- var AgentProgressReporter = class {
128
- agentName;
129
- verbose;
130
- issueCount = 0;
131
- constructor(agentName, verbose = true) {
132
- this.agentName = agentName;
133
- this.verbose = verbose;
134
- }
135
- start() {
136
- if (!this.verbose || _interactiveMode) return;
137
- console.error(`
138
- [SCOUT] ${this.agentName.toUpperCase()} starting...`);
139
- }
140
- analyzing(file) {
141
- if (!this.verbose || _interactiveMode) return;
142
- const fileName = file.split("/").pop() || file;
143
- console.error(` Analyzing ${fileName}...`);
144
- }
145
- aiReview(context) {
146
- if (!this.verbose || _interactiveMode) return;
147
- console.error(` [AI] reviewing: ${context}`);
148
- }
149
- found(severity, issue) {
150
- this.issueCount++;
151
- if (!this.verbose || _interactiveMode) return;
152
- const label = severity === "critical" ? "[CRITICAL]" : severity === "serious" ? "[SERIOUS]" : severity === "moderate" ? "[MODERATE]" : "[LOW]";
153
- console.error(` ${label} Found: ${issue}`);
154
- }
155
- complete(summary) {
156
- if (!this.verbose || _interactiveMode) return;
157
- const msg = summary || `Found ${this.issueCount} issues`;
158
- console.error(` Done: ${this.agentName}: ${msg}`);
159
- }
160
- getIssueCount() {
161
- return this.issueCount;
162
- }
163
- };
164
- var globalReporter = null;
165
- function getProgressReporter(options) {
166
- if (!globalReporter) {
167
- globalReporter = new ProgressReporter(options);
168
- }
169
- return globalReporter;
170
- }
171
- function resetProgressReporter() {
172
- globalReporter = null;
173
- }
174
-
175
- export {
176
- setInteractiveMode,
177
- isInteractiveMode,
178
- ProgressReporter,
179
- AgentProgressReporter,
180
- getProgressReporter,
181
- resetProgressReporter
182
- };
183
- //# sourceMappingURL=chunk-D25EIBPO.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/utils/progress.ts"],"sourcesContent":["/**\n * Progress Reporter for Trie Agent\n * \n * Provides real-time feedback to users as the agent works.\n * Uses console.error because MCP clients display stderr to users.\n */\n\n/**\n * Global interactive mode flag\n * When enabled, suppresses all console output (handled by InteractiveDashboard instead)\n */\nlet _interactiveMode = false;\n\n/**\n * Enable or disable interactive mode\n * When enabled, all console output from ProgressReporter and AgentProgressReporter is suppressed\n */\nexport function setInteractiveMode(enabled: boolean): void {\n _interactiveMode = enabled;\n}\n\n/**\n * Check if interactive mode is enabled\n */\nexport function isInteractiveMode(): boolean {\n return _interactiveMode;\n}\n\nexport type ProgressPhase = \n | 'init'\n | 'discovery'\n | 'reading'\n | 'analyzing'\n | 'ai-review'\n | 'prioritizing'\n | 'complete';\n\nexport interface ProgressCallback {\n (phase: ProgressPhase, message: string, detail?: string): void;\n}\n\n/**\n * Progress Reporter - streams status updates to the user\n */\nexport class ProgressReporter {\n private currentPhase: ProgressPhase = 'init';\n private startTime: number = Date.now();\n private phaseStartTime: number = Date.now();\n private verbose: boolean;\n\n constructor(options: { verbose?: boolean } = {}) {\n this.verbose = options.verbose ?? true;\n }\n\n /**\n * Report a status update\n */\n report(message: string, detail?: string): void {\n if (!this.verbose || _interactiveMode) return;\n \n const prefix = this.getPhaseIcon(this.currentPhase);\n const fullMessage = detail ? `${message}: ${detail}` : message;\n console.error(`${prefix} ${fullMessage}`);\n }\n\n /**\n * Start a new phase\n */\n startPhase(phase: ProgressPhase, message: string): void {\n this.currentPhase = phase;\n this.phaseStartTime = Date.now();\n this.report(message);\n }\n\n /**\n * Update within current phase\n */\n update(message: string, detail?: string): void {\n this.report(message, detail);\n }\n\n /**\n * Report progress on a file\n */\n file(action: string, filePath: string): void {\n // Show just the filename for cleaner output\n const fileName = filePath.split('/').pop() || filePath;\n this.report(action, fileName);\n }\n\n /**\n * Report an AI analysis step\n */\n ai(action: string, context?: string): void {\n if (_interactiveMode) return;\n const prefix = '[AI]';\n const message = context ? `${action}: ${context}` : action;\n console.error(`${prefix} ${message}`);\n }\n\n /**\n * Report a finding\n */\n finding(severity: 'critical' | 'serious' | 'moderate' | 'low', message: string): void {\n if (_interactiveMode) return;\n const labels = {\n critical: '[CRITICAL]',\n serious: '[SERIOUS]',\n moderate: '[MODERATE]',\n low: '[LOW]'\n };\n console.error(` ${labels[severity]} ${message}`);\n }\n\n /**\n * Complete current phase\n */\n completePhase(summary: string): void {\n const elapsed = Date.now() - this.phaseStartTime;\n this.report(`Done: ${summary}`, `(${elapsed}ms)`);\n }\n\n /**\n * Complete the entire operation\n */\n complete(summary: string): void {\n if (_interactiveMode) return;\n const totalElapsed = Date.now() - this.startTime;\n console.error('');\n console.error(`----------------------------------------`);\n console.error(`[COMPLETE] ${summary}`);\n console.error(` Total time: ${(totalElapsed / 1000).toFixed(2)}s`);\n console.error(`----------------------------------------`);\n console.error('');\n }\n\n /**\n * Report an error\n */\n error(message: string, detail?: string): void {\n if (_interactiveMode) return;\n const fullMessage = detail ? `${message}: ${detail}` : message;\n console.error(`[ERROR] ${fullMessage}`);\n }\n\n /**\n * Report a warning\n */\n warn(message: string, detail?: string): void {\n if (_interactiveMode) return;\n const fullMessage = detail ? `${message}: ${detail}` : message;\n console.error(`[WARN] ${fullMessage}`);\n }\n\n /**\n * Get icon for current phase\n */\n private getPhaseIcon(phase: ProgressPhase): string {\n const icons: Record<ProgressPhase, string> = {\n 'init': '>>',\n 'discovery': '>>',\n 'reading': '>>',\n 'analyzing': '>>',\n 'ai-review': '[AI]',\n 'prioritizing': '>>',\n 'complete': '[OK]'\n };\n return icons[phase] || '>>';\n }\n\n /**\n * Create a sub-reporter for a specific agent\n */\n forAgent(agentName: string): AgentProgressReporter {\n return new AgentProgressReporter(agentName, this.verbose);\n }\n}\n\n/**\n * Progress reporter scoped to a specific agent\n */\nexport class AgentProgressReporter {\n private agentName: string;\n private verbose: boolean;\n private issueCount: number = 0;\n\n constructor(agentName: string, verbose: boolean = true) {\n this.agentName = agentName;\n this.verbose = verbose;\n }\n\n start(): void {\n if (!this.verbose || _interactiveMode) return;\n console.error(`\\n[SCOUT] ${this.agentName.toUpperCase()} starting...`);\n }\n\n analyzing(file: string): void {\n if (!this.verbose || _interactiveMode) return;\n const fileName = file.split('/').pop() || file;\n console.error(` Analyzing ${fileName}...`);\n }\n\n aiReview(context: string): void {\n if (!this.verbose || _interactiveMode) return;\n console.error(` [AI] reviewing: ${context}`);\n }\n\n found(severity: string, issue: string): void {\n this.issueCount++;\n if (!this.verbose || _interactiveMode) return;\n const label = severity === 'critical' ? '[CRITICAL]' : \n severity === 'serious' ? '[SERIOUS]' : \n severity === 'moderate' ? '[MODERATE]' : '[LOW]';\n console.error(` ${label} Found: ${issue}`);\n }\n\n complete(summary?: string): void {\n if (!this.verbose || _interactiveMode) return;\n const msg = summary || `Found ${this.issueCount} issues`;\n console.error(` Done: ${this.agentName}: ${msg}`);\n }\n\n getIssueCount(): number {\n return this.issueCount;\n }\n}\n\n/**\n * Global singleton for easy access\n */\nlet globalReporter: ProgressReporter | null = null;\n\nexport function getProgressReporter(options?: { verbose?: boolean }): ProgressReporter {\n if (!globalReporter) {\n globalReporter = new ProgressReporter(options);\n }\n return globalReporter;\n}\n\nexport function resetProgressReporter(): void {\n globalReporter = null;\n}\n"],"mappings":";AAWA,IAAI,mBAAmB;AAMhB,SAAS,mBAAmB,SAAwB;AACzD,qBAAmB;AACrB;AAKO,SAAS,oBAA6B;AAC3C,SAAO;AACT;AAkBO,IAAM,mBAAN,MAAuB;AAAA,EACpB,eAA8B;AAAA,EAC9B,YAAoB,KAAK,IAAI;AAAA,EAC7B,iBAAyB,KAAK,IAAI;AAAA,EAClC;AAAA,EAER,YAAY,UAAiC,CAAC,GAAG;AAC/C,SAAK,UAAU,QAAQ,WAAW;AAAA,EACpC;AAAA;AAAA;AAAA;AAAA,EAKA,OAAO,SAAiB,QAAuB;AAC7C,QAAI,CAAC,KAAK,WAAW,iBAAkB;AAEvC,UAAM,SAAS,KAAK,aAAa,KAAK,YAAY;AAClD,UAAM,cAAc,SAAS,GAAG,OAAO,KAAK,MAAM,KAAK;AACvD,YAAQ,MAAM,GAAG,MAAM,IAAI,WAAW,EAAE;AAAA,EAC1C;AAAA;AAAA;AAAA;AAAA,EAKA,WAAW,OAAsB,SAAuB;AACtD,SAAK,eAAe;AACpB,SAAK,iBAAiB,KAAK,IAAI;AAC/B,SAAK,OAAO,OAAO;AAAA,EACrB;AAAA;AAAA;AAAA;AAAA,EAKA,OAAO,SAAiB,QAAuB;AAC7C,SAAK,OAAO,SAAS,MAAM;AAAA,EAC7B;AAAA;AAAA;AAAA;AAAA,EAKA,KAAK,QAAgB,UAAwB;AAE3C,UAAM,WAAW,SAAS,MAAM,GAAG,EAAE,IAAI,KAAK;AAC9C,SAAK,OAAO,QAAQ,QAAQ;AAAA,EAC9B;AAAA;AAAA;AAAA;AAAA,EAKA,GAAG,QAAgB,SAAwB;AACzC,QAAI,iBAAkB;AACtB,UAAM,SAAS;A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