@triedotdev/mcp 1.0.101 β†’ 1.0.102

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 (2) hide show
  1. package/README.md +21 -59
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -8,11 +8,11 @@
8
8
 
9
9
  Trie is an **autonomous, trainable AI agent** that maintains a decision ledger for your codebase:
10
10
 
11
- - **πŸ€– Autonomous Operation**: Run `trie watch` and the agent monitors your codebase 24/7
12
- - **🧠 Intelligent Extraction**: Automatically extracts decisions, facts, blockers from every change
13
- - **πŸ“Š Decision Ledger**: Builds institutional knowledge that travels from Cursor β†’ CLI β†’ CI/CD
14
- - **🎯 Predictive Intelligence**: `trie gotcha` queries the ledger to predict problems before they happen
15
- - **πŸ“ˆ Continuous Learning**: Feed it incidents with `trie tell`, teach it patterns with your history
11
+ - **Autonomous Operation**: Run `trie watch` and the agent monitors your codebase 24/7
12
+ - **Intelligent Extraction**: Automatically extracts decisions, facts, blockers from every change
13
+ - **Ledger**: Builds institutional knowledge that travels from Cursor/Claude Code β†’ CLI β†’ CI/CD
14
+ - **Predictive Intelligence**: `trie gotcha` queries the ledger to predict problems before they happen
15
+ - **Continuous Learning**: Feed it incidents with `trie tell`, teach it patterns with your history
16
16
 
17
17
  The agent learns from every incident, decision, and fix. When you ship, Trie remembers. When something breaks, Trie learns. Over time, your agent gets better at predicting what will go wrong before it does.
18
18
 
@@ -52,46 +52,17 @@ cd your-project
52
52
  trie init
53
53
  ```
54
54
 
55
- ### 2. Start the Agent
55
+ ### 2. Start Teaching Trie
56
56
 
57
- The agent runs autonomously, watching your codebase and building the decision ledger:
57
+ When bugs happen, tell Trie about them:
58
58
 
59
59
  ```bash
60
- # Start the autonomous agent
61
- trie watch
62
-
63
- # The agent now:
64
- # - Watches file changes in real-time
65
- # - Extracts decisions, facts, blockers from every change
66
- # - Builds decision ledger automatically
67
- # - Predicts problems based on historical patterns
68
- ```
69
-
70
- ### 3. Teach the Agent
71
-
72
- When bugs happen, teach the agent:
73
-
74
- ```bash
75
- # Report a specific incident (agent extracts structured signals)
76
- trie tell "Users can't log in after password reset - bcrypt config was wrong"
60
+ # Report a specific incident (extracts structured signals)
61
+ trie tell "Users can't log in after password reset"
77
62
 
78
- # Train agent from your git history (reverts/bugfixes)
63
+ # Train Trie from your history (reverts/bugfixes)
79
64
  trie learn
80
65
 
81
- # Query what the agent knows
82
- trie gotcha # Predicts problems in your current changes
83
- ```
84
-
85
- ### 4. Let the Agent Work
86
-
87
- The agent learns continuously:
88
- - Every commit β†’ Extracts decisions
89
- - Every incident β†’ Learns patterns
90
- - Every fix β†’ Updates predictions
91
- - Every change β†’ Queries ledger for "gotchas"
92
-
93
- **Set `ANTHROPIC_API_KEY` for full signal extraction** (Claude Haiku for fast, cheap extraction)
94
-
95
66
  # Give feedback on predictions
96
67
  trie ok # Prediction was helpful
97
68
  trie bad # Prediction was wrong
@@ -131,7 +102,7 @@ Trie remembers your decisions across tools, tracks the tradeoffs you've made, an
131
102
 
132
103
  ### Developer Experience
133
104
 
134
- - Plain English warnings - "This auth change broke twice before" instead of cryptic codes.
105
+ - Plain English warnings - "This payment flow broke twice before" instead of cryptic codes.
135
106
  - Multiple interfaces - CLI, MCP tools for Claude/Cursor, visual dashboards.
136
107
  - Flexible workflow - Works with any editor, any git workflow, any deployment setup.
137
108
 
@@ -187,22 +158,13 @@ When you switch from Cursor to Claude Code to terminal, Trie remembers. Your thi
187
158
 
188
159
  **Trie's Solution**: Extract signal, not noise.
189
160
 
190
- #### Three-Tier Architecture
161
+ #### Three-Tier Storage
191
162
 
192
- ```
193
- HOT (In-Memory)
194
- └─ Current session data
195
- └─ Active decisions being worked on
196
-
197
- WARM (Queryable DB)
198
- └─ Recent decisions, facts, blockers
199
- └─ Agents query what they need: "decisions related to auth in last 30 days"
200
- └─ Fast retrieval, targeted results
201
-
202
- COLD (Archived)
203
- └─ Full history, indexed but dormant
204
- └─ Moves here after 90 days of low access
205
- ```
163
+ | Tier | What's Stored | Purpose |
164
+ |------|---------------|---------|
165
+ | **HOT** (In-Memory) | Current session data, active decisions | Instant access during work |
166
+ | **WARM** (SQLite DB) | Recent decisions, facts, blockers | Query what you need: *"payment decisions in last 30 days"* |
167
+ | **COLD** (Archived) | Full history, indexed but dormant | Auto-archives after 90 days of low access |
206
168
 
207
169
  #### How Extraction Works
208
170
 
@@ -224,7 +186,7 @@ Agents don't get dumpsβ€”they **query** for what they need:
224
186
  ```typescript
225
187
  // Agent queries decision ledger
226
188
  trie_get_decisions({
227
- relatedTo: "auth/validator.ts",
189
+ relatedTo: "checkout/validator.ts",
228
190
  since: "30d",
229
191
  limit: 5
230
192
  })
@@ -245,7 +207,7 @@ trie_get_decisions({
245
207
  ```bash
246
208
  # Before starting work on a feature, check what broke before
247
209
  trie gotcha # Predict risks for current changes
248
- trie memory search "auth" # See past incidents in this area
210
+ trie memory search "payments" # See past incidents in this area
249
211
  trie status # Check overall project health
250
212
 
251
213
  # Review past decisions and tradeoffs
@@ -316,7 +278,7 @@ Set improvement goals and test theories:
316
278
 
317
279
  ```bash
318
280
  # Set a goal
319
- trie goal add "Reduce authentication bugs by 50%"
281
+ trie goal add "Reduce checkout bugs by 50%"
320
282
 
321
283
  # Add a hypothesis
322
284
  trie hypothesis add "Code reviews reduce bug rate"
@@ -497,7 +459,7 @@ trie gotcha # Predict problems with current changes
497
459
  ### Memory Management
498
460
 
499
461
  ```bash
500
- trie memory search "auth" # Search incident history
462
+ trie memory search "database" # Search incident history
501
463
  trie memory stats # View memory statistics
502
464
  trie memory purge smart # Clean up old/resolved issues
503
465
  trie learn # Extract patterns from reverts/fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@triedotdev/mcp",
3
- "version": "1.0.101",
3
+ "version": "1.0.102",
4
4
  "description": "Trainable AI Agent for Maintaining AI-Generated Codebases",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",