From 821b0b8e9fa582a378dec89a52baf12f23b70add Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Sat, 13 Dec 2025 14:16:45 +0900 Subject: [PATCH] docs: add known issue and hotfix for opencode-openai-codex-auth 400 error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit πŸ€– GENERATED WITH ASSISTANCE OF [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode) --- README.ko.md | 12 ++++++++++++ README.md | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/README.ko.md b/README.ko.md index 522fe32..5f74663 100644 --- a/README.ko.md +++ b/README.ko.md @@ -166,6 +166,18 @@ opencode auth login # λΈŒλΌμš°μ €μ—μ„œ OAuth ν”Œλ‘œμš° μ™„λ£Œ ``` +**⚠️ μ•Œλ €μ§„ 이슈**: ν˜„μž¬ 곡식 npm νŒ¨ν‚€μ§€μ— 400 μ—λŸ¬(`"No tool call found for function call output with call_id"`)λ₯Ό μœ λ°œν•˜λŠ” 버그가 μžˆμŠ΅λ‹ˆλ‹€. μˆ˜μ • 버전이 배포될 λ•ŒκΉŒμ§€ **ν•«ν”½μŠ€ 브랜치 μ‚¬μš©μ„ ꢌμž₯ν•©λ‹ˆλ‹€**. `~/.config/opencode/package.json`을 μˆ˜μ •ν•˜μ„Έμš”: + +```json +{ + "dependencies": { + "opencode-openai-codex-auth": "code-yeongyu/opencode-openai-codex-auth#fix/orphaned-function-call-output-with-tools" + } +} +``` + +κ·Έ ν›„ `cd ~/.config/opencode && bun i`λ₯Ό μ‹€ν–‰ν•˜μ„Έμš”. `opencode.json`μ—μ„œλŠ” 버전 없이 `"opencode-openai-codex-auth"`둜 μ‚¬μš©ν•©λ‹ˆλ‹€ (`@4.1.0` μ œμ™Έ). + #### 4.4 λŒ€μ•ˆ: ν”„λ‘μ‹œ 기반 인증 ν”„λ‘μ‹œ 기반 인증을 μ„ ν˜Έν•˜λŠ” μ‚¬μš©μžλ₯Ό μœ„ν•΄ [VibeProxy](https://github.com/automazeio/vibeproxy) (macOS) λ˜λŠ” [CLIProxyAPI](https://github.com/router-for-me/CLIProxyAPI)λ₯Ό λŒ€μ•ˆμœΌλ‘œ μ‚¬μš©ν•  수 μžˆμŠ΅λ‹ˆλ‹€. diff --git a/README.md b/README.md index 6e97902..76d6b65 100644 --- a/README.md +++ b/README.md @@ -165,6 +165,18 @@ opencode auth login # Complete OAuth flow in browser ``` +**⚠️ Known Issue**: The official npm package currently has a bug that causes 400 errors (`"No tool call found for function call output with call_id"`). Until a fix is released, **use the hotfix branch instead**. Modify `~/.config/opencode/package.json`: + +```json +{ + "dependencies": { + "opencode-openai-codex-auth": "code-yeongyu/opencode-openai-codex-auth#fix/orphaned-function-call-output-with-tools" + } +} +``` + +Then run `cd ~/.config/opencode && bun i`. In your `opencode.json`, use the plugin name without a version: `"opencode-openai-codex-auth"` (not `@4.1.0`). + #### 4.4 Alternative: Proxy-based Authentication For users who prefer proxy-based authentication, [VibeProxy](https://github.com/automazeio/vibeproxy) (macOS) or [CLIProxyAPI](https://github.com/router-for-me/CLIProxyAPI) remain available as alternatives.