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:
1 parent
d339b43763
commit
857e55fa74
1 file changed
+1
@@ -169,6 +169,7 @@ convert_opencode() {
|
|||||||
---
|
---
|
||||||
name: ${name}
|
name: ${name}
|
||||||
description: ${description}
|
description: ${description}
|
||||||
|
mode: subagent
|
||||||
color: ${color}
|
color: ${color}
|
||||||
---
|
---
|
||||||
${body}
|
${body}
|
||||||
|
|||||||
Reference in new issue
Block a user