From 76c96cc4be09f6a2ba216561f0e2cad19df79c40 Mon Sep 17 00:00:00 2001 From: Adam Weidman Date: Mon, 16 Mar 2026 18:03:12 -0400 Subject: [PATCH] feat(core): enable shell background completion injection With the idle wake-up listener in place, shell background completions can now use 'inject' to feed output back into the model conversation when the agent is idle. --- packages/core/src/services/shellExecutionService.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/src/services/shellExecutionService.ts b/packages/core/src/services/shellExecutionService.ts index c832491397..1b13589fbf 100644 --- a/packages/core/src/services/shellExecutionService.ts +++ b/packages/core/src/services/shellExecutionService.ts @@ -495,7 +495,7 @@ export class ShellExecutionService { : 'successfully'; return `[Background command completed ${status}. Output saved to ${logPath}]`; }, - completionBehavior: 'silent', + completionBehavior: 'inject', }) : undefined; @@ -859,7 +859,7 @@ export class ShellExecutionService { : 'successfully'; return `[Background command completed ${status}. Output saved to ${logPath}]`; }, - completionBehavior: 'silent', + completionBehavior: 'inject', }).result; let processingChain = Promise.resolve();