Преглед изворни кода

fix: add SubtaskPart with metadata reference (#10990)

Co-authored-by: yangtianzhe <[email protected]>
RenegadeE пре 3 недеља
родитељ
комит
26e14ce628
1 измењених фајлова са 2 додато и 0 уклоњено
  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>