@azerate/claudette-mcp 1.7.0 → 1.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/dist/index.js +17 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1384,6 +1384,23 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
|
|
|
1384
1384
|
if (status.error) {
|
|
1385
1385
|
output += `\n❌ Error: ${status.error}\n`;
|
|
1386
1386
|
}
|
|
1387
|
+
// Show recommendation if available (auto-populated when changes exist)
|
|
1388
|
+
if (status.recommendation) {
|
|
1389
|
+
const rec = status.recommendation;
|
|
1390
|
+
const actionIcons = {
|
|
1391
|
+
'start_workflow': '▶️',
|
|
1392
|
+
'create_feature_branch': '🌿',
|
|
1393
|
+
'add_to_existing_pr': '📝',
|
|
1394
|
+
'switch_to_main': '🔄',
|
|
1395
|
+
'create_new_branch': '🆕',
|
|
1396
|
+
'sync_branch_first': '🔀',
|
|
1397
|
+
'no_changes': '📭',
|
|
1398
|
+
};
|
|
1399
|
+
const icon = actionIcons[rec.action] || '❓';
|
|
1400
|
+
output += `\n${"─".repeat(40)}\n`;
|
|
1401
|
+
output += `${icon} RECOMMENDATION: ${rec.action.replace(/_/g, ' ').toUpperCase()}\n`;
|
|
1402
|
+
output += `${rec.suggestion}\n`;
|
|
1403
|
+
}
|
|
1387
1404
|
return { content: [{ type: "text", text: output }] };
|
|
1388
1405
|
}
|
|
1389
1406
|
catch (err) {
|
package/package.json
CHANGED