Add OpenCode winui-dev orchestrator agent - #148
Open
Zhanyuanium (Zhanyuanium) wants to merge 1 commit into
Open
Conversation
Expose the winui-dev orchestrator to OpenCode as a mode:all agent that loads winui-dev-workflow and winui-design on demand, mirroring the Copilot agent semantics. Adds plugins/winui/opencode/agent/winui-dev.md plus README setup and CHANGELOG entry. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Exposes the
winui-devorchestrator to OpenCode so OpenCode users get the same end-to-end WinUI 3 build flow as Copilot CLI (opencode run --agent winui-dev).OpenCode loads custom agents from
<config-dir>/agent/*.mdmarkdown files (frontmatter metadata + body as the system prompt), so this adds a small adapter that mirrors the existing Copilotplugins/winui/agents/winui-dev.agent.md:plugins/winui/opencode/agent/winui-dev.md— amode: allagent (selectable as primary, spawnable as subagent) withquestionandplan_enterpermissionedallowto match OpenCode's nativebuildagent, so it can drive interactive builds.subagent_typeinstead ofagent_type, thegeneral-purposehelper maps to OpenCode'sgeneralsubagent, and skills load via/winui-dev-workflowand/winui-designslash commands.Related Issue
Part of #149
Type of Change
Affected area
plugins/winui/agents/) (new OpenCode agent:plugins/winui/opencode/agent/winui-dev.md)Checklist
README.mdupdated## [Unreleased]inCHANGELOG.mdversionfield inplugins/winui/plugin.json,.github/plugin/marketplace.json, or.claude-plugin/marketplace.json(versions bump only on thestaging → mainpromotion PR — seeRELEASING.md)Screenshots / Demo
Additional Notes
AI Description
This section is auto-generated by AI when the PR is opened or updated. To opt out, delete this entire section including the marker comments.