Skip to content

docs: fix v2 plugin system example - #48452

Merged
nexxeln merged 1 commit into
anomalyco:v2from
dajiaohuang:plugin-system-type
Sep 11, 2026
Merged

nexxeln merged 1 commit into
anomalyco:v2from
dajiaohuang:plugin-system-type

Conversation

@dajiaohuang

Copy link
Copy Markdown

Issue for this PR

Fixes #48450

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Adds the required type: "text" discriminant to the V2 plugin event.system example so it matches LLM.SystemPart.

How did you verify your code works?

  • bun run check:generated from services/www
  • bun typecheck from services/www
  • bun run build from services/www

The repository-wide pre-push typecheck has an unrelated existing TS1128 failure in packages/app/src/custom-elements.d.ts.

Screenshots / recordings

Not applicable for this documentation-only change.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@nexxeln
nexxeln merged commit 4e97b78 into anomalyco:v2 Sep 11, 2026
3 of 4 checks passed
jinhuang712 pushed a commit to jinhuang712/opencode that referenced this pull request Sep 26, 2026
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.

2 participants