feat(coding-agent): export loadProjectContextFiles() standalone utility

closes #3142
This commit is contained in:
Mario Zechner
2026-04-16 12:39:05 +02:00
parent db5274b48c
commit 1d6de01c96
2 changed files with 2 additions and 2 deletions

View File

@@ -73,7 +73,7 @@ function loadContextFileFromDir(dir: string): { path: string; content: string }
return null;
}
function loadProjectContextFiles(
export function loadProjectContextFiles(
options: { cwd?: string; agentDir?: string } = {},
): Array<{ path: string; content: string }> {
const resolvedCwd = options.cwd ?? process.cwd();