Skip to content

fix(core): default custom agents to primary - #40880

Merged
rekram1-node merged 1 commit into
v2from
agent-default-primary
Aug 7, 2026
Merged

fix(core): default custom agents to primary#40880
rekram1-node merged 1 commit into
v2from
agent-default-primary

Conversation

@opencode-agent

Copy link
Copy Markdown
Contributor

Summary

  • default newly defined custom agents to primary when mode is omitted
  • keep explicit subagent and all modes unchanged
  • update the V2 agent documentation and cover the runtime default

Validation

  • bun test test/agent.test.ts (packages/core)
  • bun typecheck (packages/core)
  • bun typecheck (packages/schema)
  • Blume typecheck and validation (packages/www)
  • website production build (packages/www)
  • full packages/core suite reached an unrelated process-contention failure in test/util/flock.test.ts before the 120s host timeout; all relevant agent and config tests passed

Requested by: @rekram1-node (Aiden Cline via Slack)

@rekram1-node
rekram1-node merged commit 76e4d88 into v2Aug 7, 2026
7 of 10 checks passed
@rekram1-node
rekram1-node deleted the agent-default-primary branch August 7, 2026 01:47
github-actionsBot pushed a commit to ReStranger/opencode that referenced this pull request Aug 7, 2026
* upstream/v2: (84 commits)
fix(core): align shell output limits (anomalyco#41007)
feat(core): bound tool output (anomalyco#40929)
refactor(app): remove legacy layout (anomalyco#40947)
refactor(core): simplify file tools to lexical paths (anomalyco#40962)
fix(core): default custom agents to primary (anomalyco#40880)
fix(core): migrate legacy small model (anomalyco#40966)
fix(tui): dismiss stale permission prompts (anomalyco#40960)
fix(tui): use tab layout setting (anomalyco#40952)
fix(tui): keep model selection session scoped (anomalyco#40913)
feat(ai): expose model compatibility options (anomalyco#40942)
feat(cli): add session import and export (anomalyco#40914)
fix(core): deduplicate websearch consent prompts (anomalyco#40869)
test(core): cover config precedence
feat(tui): enable cwd-scoped session tabs by default
feat(core): normalize mixed config formats (anomalyco#40919)
fix(tui): simplify MCP status rows (anomalyco#40916)
fix(tui): compact single-line prompts (anomalyco#40924)
fix(config): omit unset optional values (anomalyco#40918)
fix(tui): open authorization links (anomalyco#40912)
refactor(mcp): remove unused registration status (anomalyco#40904)
...
Sign up for freeto 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.

1 participant

@rekram1-node