Kaynağa Gözat

fix: add SubtaskPart with metadata reference (#10990)

Co-authored-by: yangtianzhe <yangtianzhe@corp.netease.com>
RenegadeE 7 ay önce
ebeveyn
işleme
26e14ce628

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

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