Skip to content

Conversation

@YangTianz
Copy link
Contributor

@YangTianz YangTianz commented Jan 28, 2026

Fixes #10991

What does this PR do?

This PR adds the missing .meta({ ref: "SubtaskPart" }) to the SubtaskPart Zod definition in packages/opencode/src/session/message-v2.ts. This change ensures that the SubtaskPart schema is correctly identified and generated in the openapi.json file.

How did you verify your code works?

I verified the fix by regenerating the openapi.json file.

  • Before this change, the SubtaskPart content in the generated openapi.json was incorrect.
  • With this change, the openapi.json is now generated correctly with the proper SubtaskPart definition.

@github-actions
Copy link
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@github-actions
Copy link
Contributor

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

@rekram1-node rekram1-node merged commit 26e14ce into anomalyco:dev Jan 28, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix incorrect SubtaskPart definition in openapi.json

2 participants