MCPcopy
hub / github.com/codeaashu/claude-code / setSystemPromptInjection

Function setSystemPromptInjection

src/context.ts:29–34  ·  view source on GitHub ↗
(value: string | null)

Source from the content-addressed store, hash-verified

27}
28
29export 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
36export const getGitStatus = memoize(async (): Promise<string | null> => {
37 if (process.env.NODE_ENV === 'test') {

Callers 1

clearSessionCachesFunction · 0.85

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected