fix: update import path

This commit is contained in:
shenysun
2025-05-16 14:05:34 +08:00
parent 97bf01a0ac
commit e5ed10275e
7 changed files with 6 additions and 5 deletions

View File

@@ -11,7 +11,7 @@ import {
} from './utils.js';
import { setTaskStatusDirect } from '../core/task-master-core.js';
import { findTasksJsonPath } from '../core/utils/path-utils.js';
import { TASK_STATUS_OPTIONS } from '../../../src/shared/task-status.js';
import { TASK_STATUS_OPTIONS } from '../../../src/constants/task-status.js';
/**
* Register the setTaskStatus tool with the MCP server

View File

@@ -76,7 +76,7 @@ import { findProjectRoot } from './utils.js';
import {
isValidTaskStatus,
TASK_STATUS_OPTIONS
} from '../../src/shared/task-status.js';
} from '../../src/constants/task-status.js';
/**
* Runs the interactive setup process for model configuration.

View File

@@ -11,7 +11,7 @@ import generateTaskFiles from './generate-task-files.js';
import {
isValidTaskStatus,
TASK_STATUS_OPTIONS
} from '../../../src/shared/task-status.js';
} from '../../../src/constants/task-status.js';
/**
* Set the status of a task

View File

@@ -1,6 +1,7 @@
import chalk from 'chalk';
import { log } from '../utils.js';
import { isValidTaskStatus } from '../../../src/constants/task-status.js';
/**
* Update the status of a single task

View File

@@ -20,7 +20,7 @@ import path from 'path';
import fs from 'fs';
import { findNextTask, analyzeTaskComplexity } from './task-manager.js';
import { getProjectName, getDefaultSubtasks } from './config-manager.js';
import { TASK_STATUS_OPTIONS } from '../../src/shared/task-status.js';
import { TASK_STATUS_OPTIONS } from '../../src/constants/task-status.js';
// Create a color gradient for the banner
const coolGradient = gradient(['#00b4d8', '#0077b6', '#03045e']);

View File

@@ -338,7 +338,7 @@ import { sampleTasks, emptySampleTasks } from '../fixtures/sample-tasks.js';
import {
isValidTaskStatus,
TASK_STATUS_OPTIONS
} from '../../src/shared/task-status.js';
} from '../../src/constants/task-status.js';
// Destructure the required functions for convenience
const { findNextTask, generateTaskFiles, clearSubtasks, updateTaskById } =