chore: rename Task Master to TaskMaster
This commit is contained in:
@@ -71,7 +71,7 @@
|
|||||||
"items": {
|
"items": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"default": ["-y", "--package=task-master-ai", "task-master-ai"],
|
"default": ["task-master-ai"],
|
||||||
"description": "An array of arguments to pass to the MCP server command."
|
"description": "An array of arguments to pass to the MCP server command."
|
||||||
},
|
},
|
||||||
"taskmaster.mcp.cwd": {
|
"taskmaster.mcp.cwd": {
|
||||||
|
|||||||
@@ -430,7 +430,7 @@ export class ConfigManager {
|
|||||||
return {
|
return {
|
||||||
mcp: {
|
mcp: {
|
||||||
command: 'npx',
|
command: 'npx',
|
||||||
args: ['-y', '--package=task-master-ai', 'task-master-ai'],
|
args: ['task-master-ai'],
|
||||||
cwd: vscode.workspace.rootPath || '',
|
cwd: vscode.workspace.rootPath || '',
|
||||||
env: undefined,
|
env: undefined,
|
||||||
timeout: 30000,
|
timeout: 30000,
|
||||||
|
|||||||
@@ -346,11 +346,7 @@ export function createMCPConfigFromSettings(): MCPConfig {
|
|||||||
const config = vscode.workspace.getConfiguration('taskmaster');
|
const config = vscode.workspace.getConfiguration('taskmaster');
|
||||||
|
|
||||||
let command = config.get<string>('mcp.command', 'npx');
|
let command = config.get<string>('mcp.command', 'npx');
|
||||||
const args = config.get<string[]>('mcp.args', [
|
const args = config.get<string[]>('mcp.args', ['task-master-ai']);
|
||||||
'-y',
|
|
||||||
'--package=task-master-ai',
|
|
||||||
'task-master-ai'
|
|
||||||
]);
|
|
||||||
|
|
||||||
// Use proper VS Code workspace detection
|
// Use proper VS Code workspace detection
|
||||||
const defaultCwd =
|
const defaultCwd =
|
||||||
|
|||||||
Reference in New Issue
Block a user