@triedotdev/mcp 1.0.59 → 1.0.60

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 (41) hide show
  1. package/README.md +17 -13
  2. package/dist/{agent-smith-O7RG7WQ3.js → agent-smith-4IJZHSNQ.js} +3 -2
  3. package/dist/{agent-smith-runner-EW4C4PTF.js → agent-smith-runner-4PE3GOUX.js} +5 -3
  4. package/dist/{agent-smith-runner-EW4C4PTF.js.map → agent-smith-runner-4PE3GOUX.js.map} +1 -1
  5. package/dist/{chunk-HUQQSQOD.js → chunk-3XWSM2DU.js} +73 -44
  6. package/dist/chunk-3XWSM2DU.js.map +1 -0
  7. package/dist/{chunk-KLKY34RE.js → chunk-4EHBRED6.js} +139 -12
  8. package/dist/chunk-4EHBRED6.js.map +1 -0
  9. package/dist/{chunk-6ODT4U4O.js → chunk-C7LXN754.js} +539 -194
  10. package/dist/chunk-C7LXN754.js.map +1 -0
  11. package/dist/{chunk-AVOMCNBD.js → chunk-DV3JQTLQ.js} +23 -86
  12. package/dist/chunk-DV3JQTLQ.js.map +1 -0
  13. package/dist/{chunk-3CS6Z2SL.js → chunk-MVUCBUBR.js} +7 -2
  14. package/dist/chunk-MVUCBUBR.js.map +1 -0
  15. package/dist/{chunk-3B2JBLSP.js → chunk-NM7ZVUHO.js} +682 -37
  16. package/dist/chunk-NM7ZVUHO.js.map +1 -0
  17. package/dist/chunk-RAZUNSBI.js +171 -0
  18. package/dist/chunk-RAZUNSBI.js.map +1 -0
  19. package/dist/{chunk-MR755QGT.js → chunk-ULOW5HSH.js} +7 -2
  20. package/dist/chunk-ULOW5HSH.js.map +1 -0
  21. package/dist/cli/main.js +6 -5
  22. package/dist/cli/main.js.map +1 -1
  23. package/dist/cli/yolo-daemon.js +10 -9
  24. package/dist/cli/yolo-daemon.js.map +1 -1
  25. package/dist/index.js +30 -18
  26. package/dist/index.js.map +1 -1
  27. package/dist/{vibe-code-signatures-4CBHUSI7.js → vibe-code-signatures-TGMQXYGO.js} +3 -2
  28. package/dist/{vulnerability-signatures-J3CUQ7VR.js → vulnerability-signatures-GOVD4Q24.js} +3 -2
  29. package/dist/workers/agent-worker.js +4 -3
  30. package/dist/workers/agent-worker.js.map +1 -1
  31. package/package.json +1 -1
  32. package/dist/chunk-3B2JBLSP.js.map +0 -1
  33. package/dist/chunk-3CS6Z2SL.js.map +0 -1
  34. package/dist/chunk-6ODT4U4O.js.map +0 -1
  35. package/dist/chunk-AVOMCNBD.js.map +0 -1
  36. package/dist/chunk-HUQQSQOD.js.map +0 -1
  37. package/dist/chunk-KLKY34RE.js.map +0 -1
  38. package/dist/chunk-MR755QGT.js.map +0 -1
  39. /package/dist/{agent-smith-O7RG7WQ3.js.map → agent-smith-4IJZHSNQ.js.map} +0 -0
  40. /package/dist/{vibe-code-signatures-4CBHUSI7.js.map → vibe-code-signatures-TGMQXYGO.js.map} +0 -0
  41. /package/dist/{vulnerability-signatures-J3CUQ7VR.js.map → vulnerability-signatures-GOVD4Q24.js.map} +0 -0
package/dist/index.js CHANGED
@@ -22,14 +22,14 @@ import {
22
22
  perceiveCurrentChanges,
23
23
  reasonAboutChangesHumanReadable,
24
24
  saveCheckpoint
25
- } from "./chunk-AVOMCNBD.js";
25
+ } from "./chunk-DV3JQTLQ.js";
26
26
  import {
27
27
  InteractiveDashboard,
28
28
  StreamingManager,
29
29
  TrieScanTool,
30
30
  loadConfig
31
- } from "./chunk-3B2JBLSP.js";
32
- import "./chunk-KLKY34RE.js";
31
+ } from "./chunk-NM7ZVUHO.js";
32
+ import "./chunk-4EHBRED6.js";
33
33
  import {
34
34
  CRITICAL_REVIEW_CHECKLIST,
35
35
  SuperReviewerSkill,
@@ -54,16 +54,19 @@ import {
54
54
  searchGlobalPatterns,
55
55
  searchIssues,
56
56
  updateProjectSection
57
- } from "./chunk-HUQQSQOD.js";
58
- import "./chunk-3CS6Z2SL.js";
57
+ } from "./chunk-3XWSM2DU.js";
58
+ import "./chunk-MVUCBUBR.js";
59
59
  import {
60
- isInteractiveMode
61
- } from "./chunk-6ODT4U4O.js";
60
+ getOutputManager
61
+ } from "./chunk-C7LXN754.js";
62
62
  import {
63
63
  getWorkingDirectory
64
64
  } from "./chunk-ASGSTVVF.js";
65
- import "./chunk-MR755QGT.js";
65
+ import "./chunk-ULOW5HSH.js";
66
66
  import "./chunk-6NLHFIYA.js";
67
+ import {
68
+ isInteractiveMode
69
+ } from "./chunk-RAZUNSBI.js";
67
70
  import "./chunk-DGUM43GV.js";
68
71
 
69
72
  // src/server/mcp-server.ts
@@ -2552,8 +2555,8 @@ var TrieWatchTool = class {
2552
2555
  nudges: []
2553
2556
  };
2554
2557
  watchers = /* @__PURE__ */ new Map();
2555
- streamingManager;
2556
- dashboard;
2558
+ streamingManager = void 0;
2559
+ dashboard = void 0;
2557
2560
  async execute(args) {
2558
2561
  const { action, directory, debounceMs = 1e3 } = args;
2559
2562
  switch (action) {
@@ -2604,8 +2607,13 @@ var TrieWatchTool = class {
2604
2607
  this.streamingManager = new StreamingManager();
2605
2608
  this.dashboard = new InteractiveDashboard();
2606
2609
  this.streamingManager.subscribe((update) => this.dashboard?.handleStreamUpdate(update));
2610
+ const outputManager = getOutputManager();
2611
+ outputManager.setMode("tui");
2612
+ outputManager.setStreamingManager(this.streamingManager);
2607
2613
  await this.dashboard.start();
2608
2614
  this.streamingManager.reportWatchStatus({ watching: true, directories: 0, debounceMs });
2615
+ } else {
2616
+ getOutputManager().setMode("console");
2609
2617
  }
2610
2618
  await this.watchDirectory(directory, debounceMs);
2611
2619
  if (!isInteractiveMode()) {
@@ -2779,10 +2787,7 @@ Found ${newIssues} issues in changed files!`);
2779
2787
  timestamp: (/* @__PURE__ */ new Date()).toISOString()
2780
2788
  };
2781
2789
  this.state.nudges.push(payload);
2782
- if (!isInteractiveMode()) {
2783
- console.error(`
2784
- \u{1F6E1}\uFE0F ${payload.message}`);
2785
- }
2790
+ getOutputManager().activity(`\u{1F6E1}\uFE0F ${payload.message}`);
2786
2791
  }
2787
2792
  }
2788
2793
  stopWatching() {
@@ -2808,6 +2813,13 @@ Found ${newIssues} issues in changed files!`);
2808
2813
  if (this.streamingManager) {
2809
2814
  this.streamingManager.reportWatchStatus({ watching: false, directories: 0 });
2810
2815
  }
2816
+ const outputManager = getOutputManager();
2817
+ outputManager.clearTUICallbacks();
2818
+ outputManager.setMode("console");
2819
+ if (this.dashboard) {
2820
+ this.dashboard.stop();
2821
+ this.dashboard = void 0;
2822
+ }
2811
2823
  return {
2812
2824
  content: [{
2813
2825
  type: "text",
@@ -6313,8 +6325,8 @@ This information is automatically available to Claude Code, Cursor, and other AI
6313
6325
  }
6314
6326
  }
6315
6327
  async getSignaturesResource(uri) {
6316
- const { getVulnerabilityStats } = await import("./vulnerability-signatures-J3CUQ7VR.js");
6317
- const { getVibeCodeStats } = await import("./vibe-code-signatures-4CBHUSI7.js");
6328
+ const { getVulnerabilityStats } = await import("./vulnerability-signatures-GOVD4Q24.js");
6329
+ const { getVibeCodeStats } = await import("./vibe-code-signatures-TGMQXYGO.js");
6318
6330
  const vulnStats = getVulnerabilityStats();
6319
6331
  const vibeStats = getVibeCodeStats();
6320
6332
  return {
@@ -6922,7 +6934,7 @@ var RequestHandlers = class {
6922
6934
  };
6923
6935
  }
6924
6936
  async handleAgentSmith(smithArgs) {
6925
- const { AgentSmithSkill } = await import("./agent-smith-O7RG7WQ3.js");
6937
+ const { AgentSmithSkill } = await import("./agent-smith-4IJZHSNQ.js");
6926
6938
  if (smithArgs.clear_memory) {
6927
6939
  const smith = new AgentSmithSkill();
6928
6940
  const result = await smith.clearMemory();
@@ -6950,7 +6962,7 @@ var RequestHandlers = class {
6950
6962
  }]
6951
6963
  };
6952
6964
  }
6953
- const agentSmithRunner = await import("./agent-smith-runner-EW4C4PTF.js");
6965
+ const agentSmithRunner = await import("./agent-smith-runner-4PE3GOUX.js");
6954
6966
  return await agentSmithRunner.runAgentSmith(smithArgs);
6955
6967
  }
6956
6968
  };