smart-thinking-mcp
Version:
Un serveur MCP avancé pour le raisonnement multi-dimensionnel, adaptatif et collaboratif
60 lines • 2.35 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.registerServerPrompts = registerServerPrompts;
const zod_1 = require("zod");
function registerServerPrompts(server) {
server.registerPrompt('smartthinking-reasoning-plan', {
title: 'Reasoning Plan',
description: 'Build a high-quality reasoning plan before calling smartthinking.',
argsSchema: {
objective: zod_1.z.string().min(1).describe('Objectif principal a atteindre'),
constraints: zod_1.z.string().optional().describe('Contraintes non negociables'),
depth: zod_1.z.enum(['fast', 'balanced', 'deep']).optional().describe('Niveau de profondeur attendu'),
},
}, ({ objective, constraints, depth }) => {
const lines = [
'Construit un plan de raisonnement en etapes numerotees et testables.',
`Objectif: ${objective}`,
];
if (constraints) {
lines.push(`Contraintes: ${constraints}`);
}
if (depth) {
lines.push(`Profondeur demandee: ${depth}`);
}
lines.push('Pour chaque etape: objectif, hypothese, verification attendue, sortie.');
return {
messages: [
{
role: 'user',
content: {
type: 'text',
text: lines.join('\n'),
},
},
],
};
});
server.registerPrompt('smartthinking-verify-claim', {
title: 'Verification Checklist',
description: 'Generate a deterministic verification checklist for a factual claim.',
argsSchema: {
claim: zod_1.z.string().min(1).describe('Affirmation a verifier'),
},
}, ({ claim }) => ({
messages: [
{
role: 'user',
content: {
type: 'text',
text: [
'Genere une checklist de verification factuelle en 5 etapes maximum.',
`Affirmation: ${claim}`,
'Chaque etape doit specifier: donnee attendue, source, critere de validation.',
].join('\n'),
},
},
],
}));
}
//# sourceMappingURL=prompt-registrations.js.map