From 2b1a439331527406de9b8e4336589c1e2b7ea2af Mon Sep 17 00:00:00 2001 From: "Jessie.H" <61487174+jchuder@users.noreply.github.com> Date: Thu, 25 Dec 2025 10:02:33 +0800 Subject: [PATCH] docs: Simplify cache clean command to prevent SIGTRAP on startup --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b6ff7fb..5c11f0f 100644 --- a/README.md +++ b/README.md @@ -86,7 +86,7 @@ OpenCode will detect the version mismatch and install the new version automatica If you previously used an unpinned version, clear the cache: ```bash -rm -rf ~/.cache/opencode/node_modules ~/.cache/opencode/bun.lock +rm -rf ~/.cache/opencode ``` Then restart OpenCode with a pinned version in your config. @@ -113,7 +113,7 @@ If you’re using an AI agent (Codex/Claude/etc.) to install or update this plug cp /config/full-opencode.json ~/.config/opencode/opencode.json # 3) Refresh OpenCode plugin cache -rm -rf ~/.cache/opencode/node_modules ~/.cache/opencode/bun.lock +rm -rf ~/.cache/opencode # 4) Optional sanity check for GPT-5.2-Codex presets jq '.provider.openai.models | keys | map(select(startswith("gpt-5.2-codex")))' \