mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-12 12:54:07 -07:00
refactor: use pid as sole background execution data field
Align with PR1's standardization on pid as the canonical field name.
This commit is contained in:
@@ -657,7 +657,6 @@ describe('RemoteAgentInvocation', () => {
|
|||||||
'Remote agent moved to background',
|
'Remote agent moved to background',
|
||||||
);
|
);
|
||||||
expect(result.data).toMatchObject({
|
expect(result.data).toMatchObject({
|
||||||
executionId,
|
|
||||||
pid: executionId,
|
pid: executionId,
|
||||||
initialOutput: 'Chunk 1',
|
initialOutput: 'Chunk 1',
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -192,7 +192,6 @@ export class RemoteAgentInvocation extends BaseToolInvocation<
|
|||||||
const command = `${this.getDescription()}: ${this.params.query}`;
|
const command = `${this.getDescription()}: ${this.params.query}`;
|
||||||
const backgroundMessage = `Remote agent moved to background (Execution ID: ${executionId}). Output hidden. Press Ctrl+B to view.`;
|
const backgroundMessage = `Remote agent moved to background (Execution ID: ${executionId}). Output hidden. Press Ctrl+B to view.`;
|
||||||
const data: BackgroundExecutionData = {
|
const data: BackgroundExecutionData = {
|
||||||
executionId,
|
|
||||||
pid: executionId,
|
pid: executionId,
|
||||||
command,
|
command,
|
||||||
initialOutput: output,
|
initialOutput: output,
|
||||||
|
|||||||
Reference in New Issue
Block a user