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:
Adam Weidman
2026-03-09 01:12:22 -04:00
parent bc76cbeb50
commit 3389a38d86
2 changed files with 0 additions and 2 deletions

View File

@@ -657,7 +657,6 @@ describe('RemoteAgentInvocation', () => {
'Remote agent moved to background',
);
expect(result.data).toMatchObject({
executionId,
pid: executionId,
initialOutput: 'Chunk 1',
});

View File

@@ -192,7 +192,6 @@ export class RemoteAgentInvocation extends BaseToolInvocation<
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 data: BackgroundExecutionData = {
executionId,
pid: executionId,
command,
initialOutput: output,