Commit Graph
4 Commits
Author SHA1 Message Date
Victor Kzam 43c66a7b89 docs(opencode): update integration docs for plural dirs and new frontmatter
Reflect the switch to agents/ (plural), hex color codes, mode: subagent,
and @agent-name invocation in both the OpenCode integration README and the
main README's OpenCode section.
2026-03-09 13:15:11 +00:00
Victor Kzam 857e55fa74 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.
2026-03-09 13:14:40 +00:00
Victor Kzam d339b43763 fix(opencode): add color name-to-hex mapping for agent files
OpenCode only accepts hex color codes (e.g. #00FFFF), not named colors
(e.g. cyan). Add resolve_opencode_color() with a 14-entry lookup table
and wire it into convert_opencode(). Colors already in hex pass through.
2026-03-09 13:14:23 +00:00
Victor Kzam fc669c1b74 fix(opencode): use plural agents/ directory per current conventions
OpenCode docs now specify agents/ (plural) as the standard directory name;
agent/ (singular) is legacy backwards-compat. Update the converter output
path, installer source/dest paths, and .gitignore entry accordingly.
2026-03-09 13:13:56 +00:00