test(e2b): satisfy the steer() receipt signature in Agent stubs

Master's steering-receipt API (agent.steer returns SteeringReceipt) reached
this branch through the parent sync; the two E2B live-fixture Agent stubs
return the same rejected-outcome receipt the pty test stubs use.
This commit is contained in:
Tianyi Cui
2026-08-03 02:17:04 +08:00
parent f5866fc202
commit 6e1ae76c9b
2 changed files with 2 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ const owner: Agent = {
acceptsNextStep: false,
ctx: ownerFiber.ctx,
followup() {},
steer() {},
steer: () => ({ outcome: Promise.resolve({ status: 'rejected' as const }) }),
inject() {},
send() {},
cancel() {},

View File

@@ -86,7 +86,7 @@ describe.skipIf(!process.env.E2B_API_KEY)('E2B live Loader composition', () => {
acceptsNextStep: false,
ctx,
followup() {},
steer() {},
steer: () => ({ outcome: Promise.resolve({ status: 'rejected' as const }) }),
inject() {},
send() {},
cancel() {},