@rigstate/mcp 0.7.11 → 0.7.13
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/package.json
CHANGED
|
@@ -24,7 +24,7 @@ export async function buildProjectSummary(
|
|
|
24
24
|
|
|
25
25
|
const detailedInstructions = activeTask.prompt_content || activeTask.instruction_set;
|
|
26
26
|
if (detailedInstructions) {
|
|
27
|
-
summaryParts.push(` Instructions: ${detailedInstructions
|
|
27
|
+
summaryParts.push(` Instructions: ${detailedInstructions}`);
|
|
28
28
|
}
|
|
29
29
|
if (activeTask.architectural_brief) {
|
|
30
30
|
summaryParts.push(`\n Architectural Brief: ${activeTask.architectural_brief}`);
|
|
@@ -63,8 +63,29 @@ export async function listRoadmapTasks(
|
|
|
63
63
|
const formatted = activeTasks.length > 0
|
|
64
64
|
? activeTasks.map((t: any) => {
|
|
65
65
|
const statusEmoji = t.status === 'ACTIVE' ? '🔵' : '🔒';
|
|
66
|
-
|
|
67
|
-
|
|
66
|
+
const priorityBadge = t.priority ? `[${t.priority}]` : '';
|
|
67
|
+
const tags = t.tags && t.tags.length > 0 ? `Tags: ${t.tags.join(', ')}` : '';
|
|
68
|
+
|
|
69
|
+
let details = `${statusEmoji} Step ${t.step_number}: ${t.title} ${priorityBadge} (ID: ${t.id})`;
|
|
70
|
+
|
|
71
|
+
if (t.description) {
|
|
72
|
+
details += `\n Description: ${t.description.substring(0, 150)}${t.description.length > 150 ? '...' : ''}`;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
if (tags) {
|
|
76
|
+
details += `\n ${tags}`;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
if (t.prompt_content) {
|
|
80
|
+
details += `\n Instruction Preview: ${t.prompt_content.substring(0, 100).replace(/\n/g, ' ')}...`;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
if (t.architectural_brief) {
|
|
84
|
+
details += `\n Arch Brief: ${t.architectural_brief.substring(0, 100).replace(/\n/g, ' ')}...`;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
return details;
|
|
88
|
+
}).join('\n\n')
|
|
68
89
|
: 'No active or locked tasks found in the roadmap.';
|
|
69
90
|
|
|
70
91
|
return {
|