From b78bb9a3b1b145e37ad89a6ef1b6cfed4e262d78 Mon Sep 17 00:00:00 2001 From: Shiven Garia Date: Tue, 17 Mar 2026 22:26:51 +0530 Subject: [PATCH 1/2] Fix opencode global install docs to use install.sh --path The README referenced `cp integrations/opencode/agents/*.md` but those files are gitignored and only exist after running convert.sh. Replace with `install.sh --tool opencode --path` which handles both conversion and copying. Closes #245 --- integrations/opencode/README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/integrations/opencode/README.md b/integrations/opencode/README.md index 9d4f9169..02487777 100644 --- a/integrations/opencode/README.md +++ b/integrations/opencode/README.md @@ -48,11 +48,10 @@ color: "#00FFFF" ## Project vs Global Agents in `.opencode/agents/` are **project-scoped**. To make them available -globally across all projects, copy them to your OpenCode config directory: +globally across all projects, use the install script with `--path`: ```bash -mkdir -p ~/.config/opencode/agents -cp integrations/opencode/agents/*.md ~/.config/opencode/agents/ +./scripts/install.sh --tool opencode --path ~/.config/opencode/agents ``` ## Regenerate From 2e5d9d1550804a35aef46fae3ff06a9a5023a53e Mon Sep 17 00:00:00 2001 From: Shiven Garia Date: Tue, 17 Mar 2026 22:32:09 +0530 Subject: [PATCH 2/2] Add convert.sh step to global install instructions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit install.sh requires convert.sh to have run first — include both steps. --- integrations/opencode/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/integrations/opencode/README.md b/integrations/opencode/README.md index 02487777..eef275b2 100644 --- a/integrations/opencode/README.md +++ b/integrations/opencode/README.md @@ -48,9 +48,11 @@ color: "#00FFFF" ## Project vs Global Agents in `.opencode/agents/` are **project-scoped**. To make them available -globally across all projects, use the install script with `--path`: +globally across all projects, first generate the agent files, then install +with `--path`: ```bash +./scripts/convert.sh --tool opencode ./scripts/install.sh --tool opencode --path ~/.config/opencode/agents ```