From 280d7e6f9100aa01d21bfddad15c7fa358e8bbca Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Sun, 8 Feb 2026 18:43:49 -0500 Subject: [PATCH] core: add handoff agent for session context extraction --- packages/opencode/src/agent/agent.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/packages/opencode/src/agent/agent.ts b/packages/opencode/src/agent/agent.ts index e338559be7..1eb095b1c1 100644 --- a/packages/opencode/src/agent/agent.ts +++ b/packages/opencode/src/agent/agent.ts @@ -184,6 +184,18 @@ export namespace Agent { ), prompt: PROMPT_TITLE, }, + handoff: { + name: "handoff", + mode: "primary", + options: {}, + native: true, + hidden: true, + temperature: 0.5, + permission: PermissionNext.fromConfig({ + "*": "allow", + }), + prompt: "none", + }, summary: { name: "summary", mode: "primary",