fix(opencode): attribute task child agent on creation (#30786)
This commit is contained in:
@@ -412,6 +412,7 @@ describe("tool.task", () => {
|
||||
|
||||
const child = yield* sessions.get(result.metadata.sessionId)
|
||||
expect(child.parentID).toBe(chat.id)
|
||||
expect(child.agent).toBe("reviewer")
|
||||
expect(child.permission).toEqual([
|
||||
{
|
||||
permission: "todowrite",
|
||||
|
||||
Reference in New Issue
Block a user