@triedotdev/mcp 1.0.71 → 1.0.73
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 +3 -3
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -252,21 +252,21 @@ Trie Guardian: "auth/login.ts has 5 past incidents (5x above average).
|
|
|
252
252
|
🔮 Hypothesis validated: Friday deploys cause issues"
|
|
253
253
|
```
|
|
254
254
|
|
|
255
|
-
### Memory System Hardening
|
|
255
|
+
### Memory System Hardening
|
|
256
256
|
- **Atomic writes**: Temp file + rename pattern prevents data corruption on crash/interrupt
|
|
257
257
|
- **SHA256 hashing**: Cryptographic deduplication (replaced collision-prone bit-shift hash)
|
|
258
258
|
- **Backup rotation**: Automated 5-backup rotation with recovery commands
|
|
259
259
|
- **Zod validation**: Schema validation for all memory data structures
|
|
260
260
|
- **Why Phase 1 only**: JSON performs well at Trie's scale (1K-10K issues). SQLite, embeddings, and session management add complexity without proportional value for a security scanning CLI tool.
|
|
261
261
|
|
|
262
|
-
### Guardian + Visual QA Integration
|
|
262
|
+
### Guardian + Visual QA Integration
|
|
263
263
|
- **Automatic suggestions**: Guardian detects 2+ critical/serious accessibility issues and suggests visual QA
|
|
264
264
|
- **Browser screenshots**: `trie_visual_qa_browser` captures mobile/tablet/desktop screenshots
|
|
265
265
|
- **AI vision analysis**: AI analyzes screenshots to validate real-world accessibility impact
|
|
266
266
|
- **Smart cooldowns**: 5-minute cooldown prevents duplicate suggestions
|
|
267
267
|
- **Complete workflow**: Code analysis → Guardian insight → Screenshot capture → Vision analysis
|
|
268
268
|
|
|
269
|
-
### CI/CD Command
|
|
269
|
+
### CI/CD Command
|
|
270
270
|
- **New command**: `trie ci` generates GitHub Actions workflow with memory caching
|
|
271
271
|
- **Cross-run learning**: Cache `.trie/memory` for pattern recognition across CI runs
|
|
272
272
|
- **SARIF output**: Results appear in GitHub Security tab
|
package/dist/index.js
CHANGED
|
@@ -6267,7 +6267,7 @@ var ResourceManager = class {
|
|
|
6267
6267
|
uri: `ui://trie/${id}`,
|
|
6268
6268
|
name: app.name,
|
|
6269
6269
|
description: app.description,
|
|
6270
|
-
mimeType: "text/html"
|
|
6270
|
+
mimeType: "text/html;profile=mcp-app"
|
|
6271
6271
|
}));
|
|
6272
6272
|
}
|
|
6273
6273
|
/**
|
|
@@ -6283,7 +6283,7 @@ var ResourceManager = class {
|
|
|
6283
6283
|
return {
|
|
6284
6284
|
contents: [{
|
|
6285
6285
|
uri,
|
|
6286
|
-
mimeType: "text/html",
|
|
6286
|
+
mimeType: "text/html;profile=mcp-app",
|
|
6287
6287
|
text: this.getFallbackUIHtml(appId)
|
|
6288
6288
|
}]
|
|
6289
6289
|
};
|
|
@@ -6292,7 +6292,7 @@ var ResourceManager = class {
|
|
|
6292
6292
|
return {
|
|
6293
6293
|
contents: [{
|
|
6294
6294
|
uri,
|
|
6295
|
-
mimeType: "text/html",
|
|
6295
|
+
mimeType: "text/html;profile=mcp-app",
|
|
6296
6296
|
text: content
|
|
6297
6297
|
}]
|
|
6298
6298
|
};
|
|
@@ -6300,7 +6300,7 @@ var ResourceManager = class {
|
|
|
6300
6300
|
return {
|
|
6301
6301
|
contents: [{
|
|
6302
6302
|
uri,
|
|
6303
|
-
mimeType: "text/html",
|
|
6303
|
+
mimeType: "text/html;profile=mcp-app",
|
|
6304
6304
|
text: this.getFallbackUIHtml(appId)
|
|
6305
6305
|
}]
|
|
6306
6306
|
};
|