Skip to content

Commit 26e14ce

Browse files
YangTianzyangtianzhe
andauthored
fix: add SubtaskPart with metadata reference (anomalyco#10990)
Co-authored-by: yangtianzhe <yangtianzhe@corp.netease.com>
1 parent 57ad181 commit 26e14ce

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

packages/opencode/src/session/message-v2.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,8 @@ export namespace MessageV2 {
176176
})
177177
.optional(),
178178
command: z.string().optional(),
179+
}).meta({
180+
ref: "SubtaskPart",
179181
})
180182
export type SubtaskPart = z.infer<typeof SubtaskPart>
181183

0 commit comments

Comments
 (0)