fix: remove duplicate rebase artifacts in executionLifecycleService

Remove duplicated import, field, method, and injection call that
were introduced by rebase conflict resolution.
This commit is contained in:
Adam Weidman
2026-03-15 22:12:35 -04:00
parent 8751910572
commit 6362e3cc15
@@ -181,15 +181,6 @@ export class ExecutionLifecycleService {
>();
private static backgroundCompletionListeners =
new Set<BackgroundCompletionListener>();
private static injectionService: InjectionService | null = null;
/**
* Wires a singleton InjectionService so that backgrounded executions
* can inject their output directly without routing through the UI layer.
*/
static setInjectionService(service: InjectionService): void {
this.injectionService = service;
}
private static backgroundStartListeners = new Set<BackgroundStartListener>();
@@ -281,7 +272,6 @@ export class ExecutionLifecycleService {
this.backgroundCompletionListeners.clear();
this.injectionService = null;
this.backgroundStartListeners.clear();
this.injectionService = null;
this.nextExecutionId = NON_PROCESS_EXECUTION_ID_START;
}
@@ -417,15 +407,6 @@ export class ExecutionLifecycleService {
completionBehavior: behavior,
};
// Inject directly into the model conversation if injection text is
// available and the injection service has been wired up.
if (injectionText && this.injectionService) {
this.injectionService.addInjection(
injectionText,
'background_completion',
);
}
for (const listener of this.backgroundCompletionListeners) {
try {
listener(info);