@azerate/claudette-mcp 1.2.0 → 1.3.0
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 +9 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -904,6 +904,15 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
|
|
|
904
904
|
if (step.type === 'verify_tests') {
|
|
905
905
|
output += `ACTION: Run verify_refactor to check tests against baseline.`;
|
|
906
906
|
}
|
|
907
|
+
else if (step.type === 'write_tests') {
|
|
908
|
+
output += `IMPORTANT: A test framework was just installed with only a placeholder test.\n`;
|
|
909
|
+
output += `You MUST write real unit tests for the critical files listed above before proceeding.\n\n`;
|
|
910
|
+
output += `For each file, create a corresponding test file (e.g., store.test.ts for store.tsx) that:\n`;
|
|
911
|
+
output += ` 1. Imports the main functions/components from the file\n`;
|
|
912
|
+
output += ` 2. Tests the core functionality with meaningful assertions\n`;
|
|
913
|
+
output += ` 3. Covers edge cases and error handling\n\n`;
|
|
914
|
+
output += `After writing tests, run verify_refactor to establish a proper baseline.`;
|
|
915
|
+
}
|
|
907
916
|
else if (step.type === 'extract_module') {
|
|
908
917
|
output += `ACTION: Extract the listed functions to the target file, then run verify_refactor.`;
|
|
909
918
|
}
|
package/package.json
CHANGED