GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat: parallel subtask by spoons-and-mirrors · Pull Request #6478 · anomalyco/opencode

Conversation

@spoons-and-mirrors

@spoons-and-mirrors spoons-and-mirrors commented Dec 30, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

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
All reactions
  • 👍 15 reactions
@spoons-and-mirrors
spoons-and-mirrors marked this pull request as draft December 30, 2025 23:03
@spoons-and-mirrors
spoons-and-mirrors marked this pull request as ready for review December 31, 2025 03:45
@shuv1337 shuv1337 mentioned this pull request Dec 31, 2025
Merge upstream PR #6478: Parallel subtasks, model inheritance, and command.execute.before hook shuv1337/shuvcode#225
Closed
19 tasks
shuv1337 added a commit to shuv1337/shuvcode that referenced this pull request Dec 31, 2025
@shuv1337
feat: merge upstream PR anomalyco#6478 - parallel subtasks, model inh…
68ba19b
…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 shuv1337 mentioned this pull request Dec 31, 2025
feat: Merge upstream PR #6478 - parallel subtasks and model fixes shuv1337/shuvcode#229
Merged
2 tasks done
shuv1337 added a commit to shuv1337/shuvcode that referenced this pull request Dec 31, 2025
@shuv1337
feat: Merge upstream PR anomalyco#6478 - parallel subtasks and model …
6bc91e2
…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
@shuv1337
feat: merge upstream PR anomalyco#6478 - parallel subtasks, model inh…
d6d1326
…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 shuv1337 mentioned this pull request Dec 31, 2025
Merge shuvcode-dev: upstream v1.0.220 sync, UI improvements, and merged upstream PRs shuv1337/shuvcode#231
Merged
@spoons-and-mirrors
spoons-and-mirrors force-pushed the command/execute-before-bundle branch from dda0e54 to c13fbc2 Compare January 6, 2026 23:33
@github-actions github-actions Bot mentioned this pull request Jan 7, 2026
opencode desktop 在执行中会 Glob /xxx path 检索根目录,并不是项目目录 #7143
Closed
@spoons-and-mirrors
spoons-and-mirrors force-pushed the command/execute-before-bundle branch 2 times, most recently from c65be9f to 16acfc8 Compare January 7, 2026 21:44
@github-actions github-actions Bot mentioned this pull request Jan 9, 2026
feat(opencode): new plugin hook, command.execute.before #7400
Closed
@spoons-and-mirrors spoons-and-mirrors mentioned this pull request Jan 9, 2026
feat(plugin commands): allows for code execution on plugin registered slash commands #4411
Closed
@spoons-and-mirrors
spoons-and-mirrors force-pushed the command/execute-before-bundle branch from 16acfc8 to 720e58c Compare January 10, 2026 23:44
@github-actions github-actions Bot added the needs:title label Jan 10, 2026
@github-actions

github-actions Bot commented Jan 10, 2026

Copy link
Copy Markdown
Contributor

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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This was referenced Jan 12, 2026
fix: restore main session model on subtask completion - CONFLICTED #7909
Closed
feat(hook): command execute before hook #9267
Merged
@spoons-and-mirrors
spoons-and-mirrors marked this pull request as draft January 19, 2026 05:20
@spoons-and-mirrors

spoons-and-mirrors commented Jan 19, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor Author

needs rework with new opencode fixes and addition (model inheritance by dbpolito and command execute before)

EDIT: done

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@spoons-and-mirrors
spoons-and-mirrors force-pushed the command/execute-before-bundle branch from 720e58c to ff4ad5e Compare January 22, 2026 05:23
@spoons-and-mirrors spoons-and-mirrors changed the title add command.execute.before hook + allow parallel subtasks + fix model inheritance feat: parallel subtask Jan 22, 2026
@github-actions github-actions Bot added needs:issue and removed needs:title labels Jan 22, 2026
@github-actions

github-actions Bot commented Jan 22, 2026

Copy link
Copy Markdown
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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@spoons-and-mirrors
spoons-and-mirrors marked this pull request as ready for review January 22, 2026 05:50
spoons-and-mirrors added 2 commits January 28, 2026 16:32
@spoons-and-mirrors
feat: execute subtasks in parallel
f324f2e
When multiple subtasks are spawned, execute them concurrently using Promise.all instead of sequentially. Only adds one synthetic user message after all subtasks complete.
@spoons-and-mirrors
fix: prioritize command file model instead of agent model
4ee5229
@spoons-and-mirrors
spoons-and-mirrors force-pushed the command/execute-before-bundle branch from 5b974d8 to 4ee5229 Compare January 28, 2026 15:42
@thdxr
thdxr force-pushed the dev branch from cbab81f to 2d3c7a0 Compare January 30, 2026 04:50
@opencode-agent
opencode-agent Bot force-pushed the dev branch from 00637c0 to 71e0ba2 Compare January 30, 2026 14:32
@thdxr
thdxr force-pushed the dev branch 3 times, most recently from f1ae801 to 08fa7f7 Compare January 30, 2026 14:37
@ugoenyioha ugoenyioha mentioned this pull request Feb 8, 2026
[DESIGN]: Agent Teams — flat teams with named messaging, multi-model support, and TUI integration #12711
Closed
@github-actions

github-actions Bot commented Mar 30, 2026

Copy link
Copy Markdown
Contributor

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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot closed this Mar 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

needs:issue

Projects

None yet

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.

1 participant

@spoons-and-mirrors
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.