@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/dist/index.js
CHANGED
|
@@ -1913,7 +1913,7 @@ async function buildProjectSummary(project, techStack, activeTask, nextTask, age
|
|
|
1913
1913
|
summaryParts.push(` Role: ${activeTask.role || "Developer"}`);
|
|
1914
1914
|
const detailedInstructions = activeTask.prompt_content || activeTask.instruction_set;
|
|
1915
1915
|
if (detailedInstructions) {
|
|
1916
|
-
summaryParts.push(` Instructions: ${detailedInstructions
|
|
1916
|
+
summaryParts.push(` Instructions: ${detailedInstructions}`);
|
|
1917
1917
|
}
|
|
1918
1918
|
if (activeTask.architectural_brief) {
|
|
1919
1919
|
summaryParts.push(`
|
|
@@ -2896,8 +2896,27 @@ async function listRoadmapTasks(supabase, userId, projectId) {
|
|
|
2896
2896
|
});
|
|
2897
2897
|
const formatted = activeTasks.length > 0 ? activeTasks.map((t) => {
|
|
2898
2898
|
const statusEmoji = t.status === "ACTIVE" ? "\u{1F535}" : "\u{1F512}";
|
|
2899
|
-
|
|
2900
|
-
|
|
2899
|
+
const priorityBadge = t.priority ? `[${t.priority}]` : "";
|
|
2900
|
+
const tags = t.tags && t.tags.length > 0 ? `Tags: ${t.tags.join(", ")}` : "";
|
|
2901
|
+
let details = `${statusEmoji} Step ${t.step_number}: ${t.title} ${priorityBadge} (ID: ${t.id})`;
|
|
2902
|
+
if (t.description) {
|
|
2903
|
+
details += `
|
|
2904
|
+
Description: ${t.description.substring(0, 150)}${t.description.length > 150 ? "..." : ""}`;
|
|
2905
|
+
}
|
|
2906
|
+
if (tags) {
|
|
2907
|
+
details += `
|
|
2908
|
+
${tags}`;
|
|
2909
|
+
}
|
|
2910
|
+
if (t.prompt_content) {
|
|
2911
|
+
details += `
|
|
2912
|
+
Instruction Preview: ${t.prompt_content.substring(0, 100).replace(/\n/g, " ")}...`;
|
|
2913
|
+
}
|
|
2914
|
+
if (t.architectural_brief) {
|
|
2915
|
+
details += `
|
|
2916
|
+
Arch Brief: ${t.architectural_brief.substring(0, 100).replace(/\n/g, " ")}...`;
|
|
2917
|
+
}
|
|
2918
|
+
return details;
|
|
2919
|
+
}).join("\n\n") : "No active or locked tasks found in the roadmap.";
|
|
2901
2920
|
return {
|
|
2902
2921
|
tasks: activeTasks.map((t) => ({
|
|
2903
2922
|
id: t.id,
|