From 783f6a72bfd7f3135700ac273c619d92821b419a Mon Sep 17 00:00:00 2001 From: Shiven Garia Date: Sun, 12 Apr 2026 09:55:59 +0530 Subject: [PATCH] Fix opencode global install docs to use install.sh --path (#249) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes opencode global install docs — replaces broken cp command with proper convert + install two-step workflow. --- integrations/opencode/README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/integrations/opencode/README.md b/integrations/opencode/README.md index 9d4f916..eef275b 100644 --- a/integrations/opencode/README.md +++ b/integrations/opencode/README.md @@ -48,11 +48,12 @@ 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, first generate the agent files, then install +with `--path`: ```bash -mkdir -p ~/.config/opencode/agents -cp integrations/opencode/agents/*.md ~/.config/opencode/agents/ +./scripts/convert.sh --tool opencode +./scripts/install.sh --tool opencode --path ~/.config/opencode/agents ``` ## Regenerate