Browse Source

fix: add SubtaskPart with metadata reference (#10990)

Co-authored-by: yangtianzhe <[email protected]>
RenegadeE 3 weeks ago
parent
commit
26e14ce628
1 changed files with 2 additions and 0 deletions
  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>