feat(core): Implement JIT context manager and setting (#14324)

Co-authored-by: Abhi <43648792+abhipatel12@users.noreply.github.com>
This commit is contained in:
Sandy Tao
2025-12-03 04:09:46 +08:00
committed by GitHub
parent 71b0e7ab0d
commit 752a521423
9 changed files with 310 additions and 2 deletions
+2 -2
View File
@@ -34,7 +34,7 @@ const logger = {
console.error('[ERROR] [MemoryDiscovery]', ...args),
};
interface GeminiFileContent {
export interface GeminiFileContent {
filePath: string;
content: string | null;
}
@@ -304,7 +304,7 @@ async function readGeminiMdFiles(
return results;
}
function concatenateInstructions(
export function concatenateInstructions(
instructionContents: GeminiFileContent[],
// CWD is needed to resolve relative paths for display markers
currentWorkingDirectoryForDisplay: string,