mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-19 08:14:35 -07:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user