fix(opencode): attribute task child agent on creation (#30786)
This commit is contained in:
parent
21a0fdd4c0
commit
730ea6d2e3
2 changed files with 2 additions and 0 deletions
|
|
@ -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 ?? [],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue