@triedotdev/mcp 1.0.9 → 1.0.11

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.
@@ -3294,7 +3294,7 @@ var SOC2Agent = class extends BaseAgent {
3294
3294
  isAutoFixable(category) {
3295
3295
  return category === "errorHandling";
3296
3296
  }
3297
- getFix(category, issue) {
3297
+ getFix(category, _issue) {
3298
3298
  const fixes = {
3299
3299
  hardcodedSecrets: "Move secrets to environment variables or a secrets manager (e.g., HashiCorp Vault, AWS Secrets Manager)",
3300
3300
  accessControl: "Implement proper RBAC with dynamic role checking. Never hardcode admin privileges.",
@@ -3315,13 +3315,13 @@ var SuperReviewerAgent = class extends BaseAgent {
3315
3315
  description = "Interactive PR review: walks through changes file-by-file, explains each chunk, waits for cross-examination";
3316
3316
  version = "1.0.0";
3317
3317
  shouldActivate(context) {
3318
- return context.linesChanged > 50 || context.isNewFeature || context.touchesAuth || context.touchesPayment || context.touchesDatabase || context.touchesAPI;
3318
+ return context.linesChanged > 50 || context.isNewFeature || context.touchesAuth || context.touchesPayments || context.touchesDatabase || context.touchesAPI;
3319
3319
  }
3320
3320
  /**
3321
3321
  * The Super Reviewer doesn't do static pattern matching like other agents.
3322
3322
  * Instead, it generates a structured review workflow for the AI to execute.
3323
3323
  */
3324
- async analyzeFiles(files, context) {
3324
+ async analyzeFiles(_files, _context) {
3325
3325
  return [];
3326
3326
  }
3327
3327
  /**
@@ -3367,7 +3367,6 @@ var SuperReviewerAgent = class extends BaseAgent {
3367
3367
  let priority = 50;
3368
3368
  let reason = "General implementation";
3369
3369
  const path = file.path.toLowerCase();
3370
- const filename = path.split("/").pop() || "";
3371
3370
  if (/\.(proto|graphql|prisma)$/.test(path) || /schema\.(ts|js|json)$/.test(path) || /types?\.(ts|d\.ts)$/.test(path) || path.includes("/types/") || path.includes("/schema/")) {
3372
3371
  priority = 10;
3373
3372
  reason = "Defines data structures everything else uses";
@@ -3811,10 +3810,11 @@ var AgentRegistryImpl = class {
3811
3810
  };
3812
3811
  var SINGLETON_KEY = "__TRIE_AGENT_REGISTRY__";
3813
3812
  function getAgentRegistry() {
3814
- if (!globalThis[SINGLETON_KEY]) {
3815
- globalThis[SINGLETON_KEY] = new AgentRegistryImpl();
3813
+ const global = globalThis;
3814
+ if (!global[SINGLETON_KEY]) {
3815
+ global[SINGLETON_KEY] = new AgentRegistryImpl();
3816
3816
  }
3817
- return globalThis[SINGLETON_KEY];
3817
+ return global[SINGLETON_KEY];
3818
3818
  }
3819
3819
 
3820
3820
  // src/tools/scan.ts
@@ -8550,4 +8550,4 @@ export {
8550
8550
  getSystemPrompt,
8551
8551
  TrieFixTool
8552
8552
  };
8553
- //# sourceMappingURL=chunk-Z3GM6UVW.js.map
8553
+ //# sourceMappingURL=chunk-PSSXQEO5.js.map