Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/fix-fix-dependencies-tag-wipe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"task-master-ai": patch
---

Fix fix_dependencies MCP tool wiping all tags except 'master' from tasks.json. The tool now correctly scopes dependency fixes to the specified tag, preserving all other tags in multi-tag workspaces.
2 changes: 1 addition & 1 deletion mcp-server/src/core/direct-functions/fix-dependencies.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export async function fixDependenciesDirect(args, log) {
// Enable silent mode to prevent console logs from interfering with JSON response
enableSilentMode();

const options = { projectRoot, tag };
const options = { context: { projectRoot, tag } };
// Call the original command function using the provided path and proper context
await fixDependenciesCommand(tasksPath, options);

Expand Down
Loading