Refactors the initialize_project MCP tool to call a dedicated direct function (initializeProjectDirect) instead of executing the CLI command. This improves reliability and aligns it with other MCP tools. Key changes include: Modified initialize-project.js to call initializeProjectDirect, required projectRoot parameter, implemented handleApiResult for MCP response formatting, enhanced direct function to prioritize args.projectRoot over session-derived paths, added validation to prevent initialization in invalid directories, forces yes:true for non-interactive use, ensures process.chdir() targets validated directory, and added isSilentMode() checks to suppress console output during MCP operations. This resolves issues where the tool previously failed due to incorrect fallback directory resolution when session context was incomplete.
32 lines
685 B
Markdown
32 lines
685 B
Markdown
---
|
|
name: Feedback
|
|
about: Give us specific feedback on the product/approach/tech
|
|
title: 'feedback: '
|
|
labels: feedback
|
|
assignees: ''
|
|
---
|
|
|
|
### Feedback Summary
|
|
|
|
Provide a clear summary or direct quote from user feedback.
|
|
|
|
### User Context
|
|
|
|
Explain the user's context or scenario in which this feedback was provided.
|
|
|
|
### User Impact
|
|
|
|
Describe how this feedback affects the user experience or workflow.
|
|
|
|
### Suggestions
|
|
|
|
Provide any initial thoughts, potential solutions, or improvements based on the feedback.
|
|
|
|
### Relevant Screenshots or Examples
|
|
|
|
Attach screenshots, logs, or examples that illustrate the feedback.
|
|
|
|
### Additional Notes
|
|
|
|
Any additional context or related information.
|