@tosin2013/mcp-shrimp-task-manager
Version:
Enhanced MCP Shrimp Task Manager with comprehensive LLM integration. A task management tool built for AI Agents, emphasizing chain-of-thought, reflection, and style consistency. Features real GPT-4 ↔ MCP tools communication, comprehensive testing pipeline
23 lines • 1.03 kB
JavaScript
import { loadPrompt, generatePrompt, loadPromptFromTemplate, } from "../loader.js";
export function getProcessThoughtPrompt(param) {
let nextThoughtNeeded = "";
if (param.nextThoughtNeeded) {
nextThoughtNeeded = loadPromptFromTemplate("processThought/moreThought.md");
}
else {
nextThoughtNeeded = loadPromptFromTemplate("processThought/complatedThought.md");
}
const indexTemplate = loadPromptFromTemplate("processThought/index.md");
const prompt = generatePrompt(indexTemplate, {
thought: param.thought,
thoughtNumber: param.thoughtNumber,
totalThoughts: param.totalThoughts,
stage: param.stage,
tags: param.tags.join(", ") || "no tags",
axioms_used: param.axioms_used.join(", ") || "no axioms used",
assumptions_challenged: param.assumptions_challenged.join(", ") || "no assumptions challenged",
nextThoughtNeeded,
});
return loadPrompt(prompt, "PROCESS_THOUGHT");
}
//# sourceMappingURL=processThought.js.map