feat: add prompt for claude code to include context when generating tasks (#1092)

This commit is contained in:
Ralph Khreish
2025-08-06 13:41:19 +03:00
committed by GitHub
parent 36468f3c93
commit 59f7676051
5 changed files with 27 additions and 12 deletions

View File

@@ -18,7 +18,12 @@ import {
import { generateTextService } from '../ai-services-unified.js';
import { getDefaultSubtasks, getDebugFlag } from '../config-manager.js';
import {
getDefaultSubtasks,
getDebugFlag,
getMainProvider,
getResearchProvider
} from '../config-manager.js';
import { getPromptManager } from '../prompt-manager.js';
import generateTaskFiles from './generate-task-files.js';
import { COMPLEXITY_REPORT_FILE } from '../../../src/constants/paths.js';
@@ -453,9 +458,6 @@ async function expandTask(
const promptManager = getPromptManager();
// Check if Claude Code is being used as the provider
const { getMainProvider, getResearchProvider } = await import(
'../config-manager.js'
);
const currentProvider = useResearch
? getResearchProvider(projectRoot)
: getMainProvider(projectRoot);