fix(opencode): attribute task child agent on creation (#30786)
This commit is contained in:
@@ -128,6 +128,7 @@ export const TaskTool = Tool.define(
|
||||
(yield* sessions.create({
|
||||
parentID: ctx.sessionID,
|
||||
title: params.description + ` (@${next.name} subagent)`,
|
||||
agent: next.name,
|
||||
permission: [
|
||||
...deriveSubagentSessionPermission({
|
||||
parentSessionPermission: parent.permission ?? [],
|
||||
|
||||
Reference in New Issue
Block a user