refactor(core): introduce InjectionService with source-aware injection and backend-native background completions (#22544)

This commit is contained in:
Adam Weidman
2026-03-16 17:06:29 -04:00
committed by GitHub
parent b91f75cd6d
commit 44ce90d76c
17 changed files with 807 additions and 198 deletions
@@ -51,7 +51,7 @@ describe('clearCommand', () => {
fireSessionEndEvent: vi.fn().mockResolvedValue(undefined),
fireSessionStartEvent: vi.fn().mockResolvedValue(undefined),
}),
userHintService: {
injectionService: {
clear: mockHintClear,
},
},
+1 -1
View File
@@ -30,7 +30,7 @@ export const clearCommand: SlashCommand = {
}
// Reset user steering hints
config?.userHintService.clear();
config?.injectionService.clear();
// Start a new conversation recording with a new session ID
// We MUST do this before calling resetChat() so the new ChatRecordingService