mcp-prompt-optimizer 3.7.0 ā 3.7.1
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/index.js +8 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1479,8 +1479,14 @@ class MCPPromptOptimizer {
|
|
|
1479
1479
|
} else {
|
|
1480
1480
|
output += `**Confidence:** ${(result.confidence_score * 100).toFixed(1)}%\n`;
|
|
1481
1481
|
}
|
|
1482
|
-
output += `**AI Context:** ${result.metadata?.context_detection?.ai_context || context.detectedContext}\n`;
|
|
1483
|
-
|
|
1482
|
+
output += `**AI Context:** ${result.metadata?.context_detection?.ai_context || result.metadata?.ai_context || context.detectedContext}\n`;
|
|
1483
|
+
if (result.metadata?.routing_score != null) {
|
|
1484
|
+
output += `**Routing Score:** ${result.metadata.routing_score.toFixed(3)} (${result.metadata?.routing_tier || 'unknown'})\n`;
|
|
1485
|
+
}
|
|
1486
|
+
if (!result.rules_based && !result.fallback_mode && result.metadata?.model_used) {
|
|
1487
|
+
output += `**Model:** ${result.metadata.model_used}\n`;
|
|
1488
|
+
}
|
|
1489
|
+
|
|
1484
1490
|
if (result.template_saved) {
|
|
1485
1491
|
output += `\nš **Template Auto-Save**\nā
Automatically saved as template (ID: \`${result.template_id}\`)\n*Confidence threshold: >70% required for auto-save*\n`;
|
|
1486
1492
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mcp-prompt-optimizer",
|
|
3
|
-
"version": "3.7.
|
|
3
|
+
"version": "3.7.1",
|
|
4
4
|
"description": "Professional cloud-based MCP server for AI-powered prompt optimization with intelligent context detection, Bayesian optimization, AG-UI real-time optimization, template auto-save, optimization insights, personal model configuration via WebUI, team collaboration, enterprise-grade features, production resilience, and startup validation. Universal compatibility with Claude Desktop, Cursor, Windsurf, and 17+ MCP clients.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|