From 3389a38d86962c13db5d884eb21adfec41610260 Mon Sep 17 00:00:00 2001 From: Adam Weidman Date: Mon, 9 Mar 2026 01:12:22 -0400 Subject: [PATCH] refactor: use pid as sole background execution data field Align with PR1's standardization on pid as the canonical field name. --- packages/core/src/agents/remote-invocation.test.ts | 1 - packages/core/src/agents/remote-invocation.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/packages/core/src/agents/remote-invocation.test.ts b/packages/core/src/agents/remote-invocation.test.ts index a46e8d9b26..0e14ed6bf2 100644 --- a/packages/core/src/agents/remote-invocation.test.ts +++ b/packages/core/src/agents/remote-invocation.test.ts @@ -657,7 +657,6 @@ describe('RemoteAgentInvocation', () => { 'Remote agent moved to background', ); expect(result.data).toMatchObject({ - executionId, pid: executionId, initialOutput: 'Chunk 1', }); diff --git a/packages/core/src/agents/remote-invocation.ts b/packages/core/src/agents/remote-invocation.ts index d9ca70d0e2..82c8000956 100644 --- a/packages/core/src/agents/remote-invocation.ts +++ b/packages/core/src/agents/remote-invocation.ts @@ -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,