Uh oh!
There was an error while loading. Please reload this page.
feat: parallel subtask - #6478
Conversation
…eritance, command.execute.before hook Merges changes from anomalyco#6478: - Add parallel subtask execution via Promise.all() - Fix model inheritance for subtasks with parent context restoration - Add command.execute.before plugin hook for pre-execution logic - Improve model resolution with proper fallback chain: command frontmatter > agent model > session model > default model - Extend SubtaskPart schema with model, parentAgent, parentModel fields - Update task tool to use ctx.extra.model for model override Closes#225
…fixes (#229) * fix(opencode): restore variant field in session prompt API The variant field was accidentally removed during a cherry-pick that fixed plugin commands. This restores variant support in PromptInput, CommandInput, and the corresponding message/command handlers. * refactor(opencode): extract CORS logic to dedicated module Move CORS origin validation to cors.ts for better testability and add support for *.shuv.ai domain alongside *.opencode.ai. * feat(app): add server URL persistence and welcome screen for hosted environments - Persist active server selection across sessions (server.v4 storage) - Add WelcomeScreen for hosted environments when server connection fails - Add connection state machine (connecting/ready/needs_config/error) - Add hosted environment detection utilities * feat(app): improve review pane with width constraints and empty state - Add REVIEW_PANE constants for centralized width configuration - Enforce max review pane width ratio (33% of viewport) - Handle window resize to maintain width constraints - Add empty state UI when no files to review * refactor(app): reorder header buttons for better UX - Move Theme/Font pickers before Review and Terminal toggles - Add clarifying comments for button groups * feat: merge upstream PR anomalyco#6478 - parallel subtasks, model inheritance, command.execute.before hook Merges changes from anomalyco#6478: - Add parallel subtask execution via Promise.all() - Fix model inheritance for subtasks with parent context restoration - Add command.execute.before plugin hook for pre-execution logic - Improve model resolution with proper fallback chain: command frontmatter > agent model > session model > default model - Extend SubtaskPart schema with model, parentAgent, parentModel fields - Update task tool to use ctx.extra.model for model override Closes#225 --------- Co-authored-by: shuv <shuv@shuv.dev>
…eritance, command.execute.before hook Merges changes from anomalyco#6478: - Add parallel subtask execution via Promise.all() - Fix model inheritance for subtasks with parent context restoration - Add command.execute.before plugin hook for pre-execution logic - Improve model resolution with proper fallback chain: command frontmatter > agent model > session model > default model - Extend SubtaskPart schema with model, parentAgent, parentModel fields - Update task tool to use ctx.extra.model for model override Closes#225
dda0e54 to
c13fbc2Comparec65be9f to
16acfc8Compare16acfc8 to
720e58cCompareHey! Your PR title Please update it to start with one of:
Where See CONTRIBUTING.md for details. |
needs rework with new opencode fixes and addition (model inheritance by dbpolito and command execute before) EDIT: done |
720e58c to
ff4ad5eCompareThanks for your contribution! This PR doesn't have a linked issue. All PRs must reference an existing issue. Please:
See CONTRIBUTING.md for details. |
When multiple subtasks are spawned, execute them concurrently using Promise.all instead of sequentially. Only adds one synthetic user message after all subtasks complete.
5b974d8 to
4ee5229Comparef1ae801 to
08fa7f7CompareClosing this pull request because it has had no updates for more than 60 days. If you plan to continue working on it, feel free to reopen or open a new PR. |
EDIT: This PR adds parallel susbtask ability and fix model priority. Now uses command file specified model before agent's configured model