chore: removes unnecessary output from the createcontentResponse of initialize-project.

This commit is contained in:
Eyal Toledano
2025-04-09 19:21:07 -04:00
parent 69e0b3c393
commit 729e033fef

View File

@@ -81,10 +81,9 @@ export function registerInitializeProjectTool(server) {
// Return a standard success response manually // Return a standard success response manually
return createContentResponse({ return createContentResponse({
message: 'Project initialized successfully.', message: 'Taskmaster successfully initialized for this project.',
next_step: next_step:
'Now that the project is initialized, the next step is to create the tasks by parsing a PRD. This will create the tasks folder and the initial task files. The parse-prd tool will required a prd.txt file as input in scripts/prd.txt. You can create a prd.txt file by asking the user about their idea, and then using the scripts/example_prd.txt file as a template to genrate a prd.txt file in scripts/. You can then use the parse-prd tool to create the tasks. So: step 1 after initialization is to create a prd.txt file in scripts/prd.txt. Step 2 is to use the parse-prd tool to create the tasks. Do not bother looking for tasks after initialization, just use the parse-prd tool to create the tasks after creating a prd.txt from which to parse the tasks.', 'Now that the project is initialized, the next step is to create the tasks by parsing a PRD. This will create the tasks folder and the initial task files. The parse-prd tool will required a prd.txt file as input in scripts/prd.txt. You can create a prd.txt file by asking the user about their idea, and then using the scripts/example_prd.txt file as a template to genrate a prd.txt file in scripts/. You can then use the parse-prd tool to create the tasks. So: step 1 after initialization is to create a prd.txt file in scripts/prd.txt. Step 2 is to use the parse-prd tool to create the tasks. Do not bother looking for tasks after initialization, just use the parse-prd tool to create the tasks after creating a prd.txt from which to parse the tasks.'
output: output
}); });
} catch (error) { } catch (error) {
// Catch errors from execSync or timeouts // Catch errors from execSync or timeouts