Skip to content

Commit 40cf001

Browse files
committed
docs: update troubleshooting notes
1 parent fc7a378 commit 40cf001

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ cursor-agent login
2727
opencode models | grep cursor-acp
2828
```
2929

30-
Upgrade: `npm update -g @rama_nigg/open-cursor`
30+
Upgrade: `npm update -g @rama_nigg/open-cursor`, then restart opencode so it loads the new plugin process.
3131

3232
<details>
3333
<summary><b>Option B</b> — shell installer</summary>
@@ -217,11 +217,12 @@ Cursor integration in opencode still has tradeoffs. Pick the least bad option fo
217217

218218
- `fetch() URL is invalid` or auth errors → `cursor-agent login` or `opencode auth login --provider cursor-acp`
219219
- `CURSOR_API_KEY not set` in SDK mode → set a real API key from [cursor.com/settings](https://cursor.com/settings), or use `CURSOR_ACP_BACKEND=auto` with a working `cursor-agent`
220+
- `SchemaError(Missing key at ["oldString"])` or `["filePath"]` during Composer file writes → update `@rama_nigg/open-cursor`, then restart opencode and cursor-agent so stale processes cannot keep the old tool schema
220221
- Model not responding → verify your API key/quota
221222
- Quota exceeded → [cursor.com/settings](https://cursor.com/settings)
222223
- Proxy not starting → ensure port 32124 is available
223224

224-
Debug logging: `CURSOR_ACP_LOG_LEVEL=debug opencode run "your prompt" --model cursor-acp/auto`
225+
Debug logging: `CURSOR_ACP_LOG_LEVEL=debug opencode` for TUI use, or `CURSOR_ACP_LOG_LEVEL=debug opencode run "your prompt" --model cursor-acp/auto`
225226

226227
## Roadmap
227228

0 commit comments

Comments
 (0)