Kaynağa Gözat

fix: add SubtaskPart with metadata reference (#10990)

Co-authored-by: yangtianzhe <[email protected]>
RenegadeE 3 hafta önce
ebeveyn
işleme
26e14ce628
1 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  1. 2 0
      packages/opencode/src/session/message-v2.ts

+ 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>