@triedotdev/mcp 1.0.124 → 1.0.125

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 CHANGED
@@ -635,6 +635,17 @@ What happens at the 10,000 issue cap: Trie will deduplicate new repeats, compact
635
635
 
636
636
  **Hooks not working**: Reinstall with `trie init`. Make sure you have write permissions to .git/hooks/.
637
637
 
638
+ **Goals showing but not detecting violations**: This happens when goals appear in the UI but aren't active in guardian state. The Goals view will show a yellow warning box. To fix:
639
+ ```bash
640
+ # Quick fix - activate a specific goal
641
+ node fix-goals.js "NO EMOJIS"
642
+
643
+ # Or use the proper CLI (recommended)
644
+ trie goal add "NO EMOJIS"
645
+ trie goal list
646
+ ```
647
+ See [Goal Detection Fix](./docs/GOAL_DETECTION_FIX.md) for details.
648
+
638
649
  ### Getting Help
639
650
  - Issues: [Report bugs and request features](https://x.com/louiskishfy)
640
651
 
@@ -989,7 +989,7 @@ function Footer() {
989
989
  " (",
990
990
  unreadNudgesCount,
991
991
  ")"
992
- ] }) : /* @__PURE__ */ jsx3(Text2, { color: "green", children: labels[v] }),
992
+ ] }) : /* @__PURE__ */ jsx3(Text2, { dimColor: true, children: labels[v] }),
993
993
  !isLast && /* @__PURE__ */ jsx3(Text2, { dimColor: true, children: " \xB7 " })
994
994
  ] }, v);
995
995
  }) }),
@@ -1005,7 +1005,7 @@ function Footer() {
1005
1005
  const isCurrent = v === view;
1006
1006
  const isLast = idx === TAB_VIEWS.length - 1;
1007
1007
  return /* @__PURE__ */ jsxs2(React2.Fragment, { children: [
1008
- isCurrent ? /* @__PURE__ */ jsx3(Text2, { color: "white", bold: true, children: labels[v] }) : isAgent && hasUnreadNudges ? /* @__PURE__ */ jsxs2(Text2, { color: "yellow", bold: true, children: [
1008
+ isCurrent ? /* @__PURE__ */ jsx3(Text2, { color: "green", bold: true, children: labels[v] }) : isAgent && hasUnreadNudges ? /* @__PURE__ */ jsxs2(Text2, { color: "yellow", bold: true, children: [
1009
1009
  labels[v],
1010
1010
  " (",
1011
1011
  unreadNudgesCount,
@@ -1776,7 +1776,7 @@ function GoalsView() {
1776
1776
  const { goalsPanel } = state;
1777
1777
  const activeGoals = goalsPanel.goals.filter((g) => g.status === "active");
1778
1778
  const achievedGoals = goalsPanel.goals.filter((g) => g.status === "achieved");
1779
- const otherGoals = goalsPanel.goals.filter((g) => g.status !== "active" && g.status !== "achieved");
1779
+ const otherGoals = goalsPanel.goals.filter((g) => g.status !== "active" && g.status !== "achieved" && g.status !== "rejected");
1780
1780
  const refreshGoals = useCallback2(async () => {
1781
1781
  try {
1782
1782
  const workDir = getWorkingDirectory(void 0, true);
@@ -1954,6 +1954,11 @@ function GoalsView() {
1954
1954
  ] }) }),
1955
1955
  /* @__PURE__ */ jsx9(Text8, { dimColor: true, children: " enter save \xB7 esc cancel" })
1956
1956
  ] }) : /* @__PURE__ */ jsx9(Fragment2, { children: goalsPanel.goals.length === 0 ? /* @__PURE__ */ jsx9(Text8, { dimColor: true, children: " No goals yet. Press a to add one." }) : /* @__PURE__ */ jsxs8(Box8, { flexDirection: "column", children: [
1957
+ activeGoals.length === 0 && goalsPanel.goals.length > 0 && /* @__PURE__ */ jsxs8(Box8, { flexDirection: "column", marginBottom: 1, paddingX: 1, borderStyle: "round", borderColor: "yellow", children: [
1958
+ /* @__PURE__ */ jsx9(Text8, { color: "yellow", bold: true, children: "\u26A0 No Active Goals" }),
1959
+ /* @__PURE__ */ jsx9(Text8, { dimColor: true, children: "Goals exist but none are active. Violations won't be detected." }),
1960
+ /* @__PURE__ */ jsx9(Text8, { dimColor: true, children: 'Press a to add a new goal, or run: trie goal add "your goal"' })
1961
+ ] }),
1957
1962
  activeGoals.map((goal, idx) => {
1958
1963
  const isSelected = goalsPanel.selectedIndex === idx;
1959
1964
  const progress = calculateGoalProgress(goal);
@@ -6260,4 +6265,4 @@ export {
6260
6265
  handleCheckpointTool,
6261
6266
  InteractiveDashboard
6262
6267
  };
6263
- //# sourceMappingURL=chunk-7J4ZOOAD.js.map
6268
+ //# sourceMappingURL=chunk-BNVH2LY7.js.map