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.
This commit is contained in:
@@ -137,8 +137,8 @@ convert_opencode() {
|
||||
slug="$(slugify "$name")"
|
||||
body="$(get_body "$file")"
|
||||
|
||||
outfile="$OUT_DIR/opencode/agent/${slug}.md"
|
||||
mkdir -p "$OUT_DIR/opencode/agent"
|
||||
outfile="$OUT_DIR/opencode/agents/${slug}.md"
|
||||
mkdir -p "$OUT_DIR/opencode/agents"
|
||||
|
||||
# OpenCode agent format: same as the source format (.md with frontmatter).
|
||||
# color field is supported. No conversion needed beyond directory placement.
|
||||
|
||||
Reference in New Issue
Block a user