Windows: Opencode ACP agents fail with "Command not found" yet available in system and user path
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
調査の方向性
Start with ExternalAcpAgentService.kt, especially the ensureState logic around the command-not-found error, and trace how the IDE process resolves opencode on Windows. Review AcpAgentService.kt and the external-agent configuration entry points, then reproduce with where opencode and opencode acp --help from the same IDE environment. Done means the plugin reliably launches the installed executable, including when it is available through the Windows PATH or an absolute executable path, with regression coverage for the lookup behavior.
索引モデルが issue の本文から書いたものです。
説明
What happened?
Hi,
I was trying to connect the opencode acp to proxyAi but i always get the following message :
OpenCode unavailable. Command 'opencode' not found. Ensure it is installed and available to the IDE process. You can also point the runtime to an absolute executable path.
I am running phpstorm on windows 11, with proxyAi 3.8.0-241.1
opencode was installed using chocolatey,
chocolatey bin folder is available in the sytem and user path
('where opencode' is working in cmd console, as well as 'opencode --version', or 'opencode acp --help')
I couldn't find the option to force the opencode.exe path in the plugin settings.
Did I miss something ?
Thanks in advance.
Relevant log output or stack trace
java.lang.IllegalStateException: Command 'opencode' not found. Ensure it is installed and available to the IDE process. You can also point the runtime to an absolute executable path.
at ee.carlrobert.codegpt.agent.external.ExternalAcpAgentService.ensureState(AcpAgentService.kt:248)
at ee.carlrobert.codegpt.agent.external.ExternalAcpAgentService.ensureSessionReady(AcpAgentService.kt:223)
at ee.carlrobert.codegpt.agent.external.ExternalAcpAgentService.runPromptLoop(AcpAgentService.kt:80)
at ee.carlrobert.codegpt.agent.AgentService$submitExternalMessage$1.invokeSuspend(AgentService.kt:249)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.internal.SoftLimitedDispatcher$Worker.run(SoftLimitedDispatcher.kt:130)
at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:610)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:1188)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:775)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:762)
Steps to reproduce
Have opencode installed using chocolatey
choco install opencode
Activate ProxyAi plugin in phpstorm
Activate Opencode acp in proxyAi plugin Options
Select Opencode in the Agent dropdown menu
CodeGPT version
3.8.2-261
Operating System
Windows
- 主要言語
- Kotlin
- スター
- 1.9k
- フォーク
- 401
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
carlrobertoh/ProxyAI のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
carlrobertoh/ProxyAI#1250 ·
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
carlrobertoh/ProxyAI#1233 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
carlrobertoh/ProxyAI#1203 · リアクション 1 件 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
carlrobertoh/ProxyAI#1160 · リアクション 2 件 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
carlrobertoh/ProxyAI#1068 ·
carlrobertoh/ProxyAI の issue をすべて見る
似ている issue
-
Location search keeps showing stale "Open-Meteo can't find ..." message after clearing search queryオープンBug Needs review
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
breezy-weather/breezy-weather#3082 ·
メンテナーはふだん 2 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 76/100
wangzan101/Mika#1033 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
commons-app/apps-android-commons#7486 ·
メンテナーはふだん 1 日以内に返信
-
area: ci area: local-media area: startup area: ui platform: bilibili platform: netease platform: youtube status: needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
cwuom/NeriPlayer#794 ·
メンテナーはふだん 1 日以内に返信
-
area:android area:ui bug priority:P2
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
meraxes89/streamify-apk#449 ·
メンテナーはふだん 1 日以内に返信