2
0
Эх сурвалжийг харах

fix: add SubtaskPart with metadata reference (#10990)

Co-authored-by: yangtianzhe <[email protected]>
RenegadeE 3 долоо хоног өмнө
parent
commit
26e14ce628

+ 2 - 0
packages/opencode/src/session/message-v2.ts

@@ -176,6 +176,8 @@ export namespace MessageV2 {
       })
       .optional(),
     command: z.string().optional(),
+  }).meta({
+    ref: "SubtaskPart",
   })
   export type SubtaskPart = z.infer<typeof SubtaskPart>