fix(opencode): add mode: subagent to generated agent frontmatter
Without mode: subagent, all 68 agents default to mode: all and appear as primary agents the user Tab-cycles through, making the UX unusable. With mode: subagent they are invoked on-demand via @agent-name.
This commit is contained in:
parent
d339b43763
commit
857e55fa74
1 changed files with 1 additions and 0 deletions
|
|
@ -169,6 +169,7 @@ convert_opencode() {
|
||||||
---
|
---
|
||||||
name: ${name}
|
name: ${name}
|
||||||
description: ${description}
|
description: ${description}
|
||||||
|
mode: subagent
|
||||||
color: ${color}
|
color: ${color}
|
||||||
---
|
---
|
||||||
${body}
|
${body}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue