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.
This commit is contained in:
Adam Weidman
2026-03-16 18:03:12 -04:00
parent 6880859fdb
commit 76c96cc4be
@@ -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();