(value: string | null)
| 27 | } |
| 28 | |
| 29 | export function setSystemPromptInjection(value: string | null): void { |
| 30 | systemPromptInjection = value |
| 31 | // Clear context caches immediately when injection changes |
| 32 | getUserContext.cache.clear?.() |
| 33 | getSystemContext.cache.clear?.() |
| 34 | } |
| 35 | |
| 36 | export const getGitStatus = memoize(async (): Promise<string | null> => { |
| 37 | if (process.env.NODE_ENV === 'test') { |
no test coverage detected