GeezerVison is showing github.com — feat: parallel subtask by spoons-and-mirrors · Pull Request #6478 · anomalyco/opencode
Conversation
EDIT: This PR adds parallel susbtask ability and fix model priority. Now uses command file specified model before agent's configured model
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
kylegl, malhashemi, rektide, Tarquinen, misterdojo777, wrutkowski, arttttt, tstanton1-ds, mrosnerr, SublimePeace, and 5 more reacted with thumbs up emoji
shuv1337
added a commit
to shuv1337/shuvcode
that referenced
this pull request
Dec 31, 2025
…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
shuv1337
added a commit
to shuv1337/shuvcode
that referenced
this pull request
Dec 31, 2025
…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 <[email protected]>
shuv1337
added a commit
to shuv1337/shuvcode
that referenced
this pull request
Dec 31, 2025
…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
|
Hey! Your PR title add command.execute.before hook + allow parallel subtasks + fix model inheritance doesn't follow conventional commit format.
Please update it to start with one of:
feat: or feat(scope): new feature
fix: or fix(scope): bug fix
docs: or docs(scope): documentation changes
chore: or chore(scope): maintenance tasks
refactor: or refactor(scope): code refactoring
test: or test(scope): adding or updating tests
Where scope is the package name (e.g., app, desktop, opencode).
See CONTRIBUTING.md for details.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Jan 12, 2026
|
needs rework with new opencode fixes and addition (model inheritance by dbpolito and command execute before)
EDIT: done
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
spoons-and-mirrors
changed the title
add command.execute.before hook + allow parallel subtasks + fix model inheritance
feat: parallel subtask
Jan 22, 2026
|
Thanks for your contribution!
This PR doesn't have a linked issue. All PRs must reference an existing issue.
Please:
- Open an issue describing the bug/feature (if one doesn't exist)
- Add
Fixes #<number> or Closes #<number> to this PR description
See CONTRIBUTING.md for details.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
When multiple subtasks are spawned, execute them concurrently using Promise.all instead of sequentially. Only adds one synthetic user message after all subtasks complete.
|
Closing 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.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|