diff --git a/CHANGELOG.md b/CHANGELOG.md index 0c215e9..7065352 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,12 @@ The history below this section is the upstream `Imbad0202/academic-research-skil changelog, reproduced verbatim. Entries prefixed `opencode.` apply to this port only and document packaging / runtime differences from upstream. +## [Unreleased] + +- Fixed `install.sh` not symlinking `.opencode/agents/*.md` into + `$XDG_CONFIG_HOME/opencode/agents/`, which left commands like + `/ars-reviewer` erroring after a global install (#2). + ## [3.13.0] (2026-06-19) — Upstream merge + OpenCode integration fixes Merged upstream `v3.9.4.2` → `v3.13.0` (136 commits). All upstream diff --git a/install.sh b/install.sh index 877b8d6..8cc6cad 100755 --- a/install.sh +++ b/install.sh @@ -120,6 +120,7 @@ main_install() { echo "Installing into: $OC_HOME" ensure_dir "$OC_HOME/skills" ensure_dir "$OC_HOME/commands" + ensure_dir "$OC_HOME/agents" ensure_dir "$OC_HOME/plugins" echo "Skills:" @@ -136,6 +137,12 @@ main_install() { link_one "$f" "$OC_HOME/commands/$(basename "$f")" done + echo "Agents:" + for f in "$REPO_ROOT/.opencode/agents"/*.md; do + [[ -f "$f" ]] || continue + link_one "$f" "$OC_HOME/agents/$(basename "$f")" + done + echo "Plugins:" for f in "$REPO_ROOT/plugins"/*.ts; do [[ -f "$f" ]] || continue @@ -170,6 +177,12 @@ main_uninstall() { unlink_one "$OC_HOME/commands/$(basename "$f")" done + echo "Agents:" + for f in "$REPO_ROOT/.opencode/agents"/*.md; do + [[ -f "$f" ]] || continue + unlink_one "$OC_HOME/agents/$(basename "$f")" + done + echo "Plugins:" for f in "$REPO_ROOT/plugins"/*.ts; do [[ -f "$f" ]] || continue