@mgsoftwarebv/mg-dashboard-mcp 7.0.11 → 7.0.12

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/dist/index.js CHANGED
@@ -10312,7 +10312,13 @@ async function executeToolCall(name, a, _serverId) {
10312
10312
  const when = hit.lastMessageAt ? new Date(hit.lastMessageAt).toISOString().slice(0, 10) : "unknown date";
10313
10313
  const repo = hit.repo ?? "unknown repo";
10314
10314
  const sim = hit.similarity !== null ? ` \xB7 ${(hit.similarity * 100).toFixed(0)}% match` : "";
10315
- return `${index5 + 1}. [${repo} \xB7 ${when}${sim}] ${hit.title}
10315
+ const facets = [
10316
+ hit.category,
10317
+ hit.resolved === false ? "unresolved" : null,
10318
+ ...Array.isArray(hit.tech) ? hit.tech.slice(0, 4) : []
10319
+ ].filter(Boolean);
10320
+ const tags = facets.length > 0 ? ` \xB7 ${facets.join(", ")}` : "";
10321
+ return `${index5 + 1}. [${repo} \xB7 ${when}${sim}${tags}] ${hit.title}
10316
10322
  id: ${hit.id}
10317
10323
  ${(hit.summary ?? hit.snippet).replace(/\s+/g, " ").slice(0, 500)}`;
10318
10324
  });