Hi — first off, thanks for building and open-sourcing this plugin. It's become a genuinely useful part of my daily workflow: being able to offload long-running tasks to OpenCode (and keep Claude Code's main context free for harder reasoning) is exactly the kind of leverage I was looking for. I've been using it for several weeks across a few different projects.
While using it, I ran into a handful of issues that I went ahead and fixed locally. I've opened them as separate PRs so you can review / merge them independently depending on your appetite:
Each PR has a test-plan in its description covering what I verified locally. Happy to rebase, split further, or adjust style to match your preferences — just let me know. And feel free to close this issue once the PRs are triaged; I mostly wanted to open it so there's a single place to thank you and group the context.
Hi — first off, thanks for building and open-sourcing this plugin. It's become a genuinely useful part of my daily workflow: being able to offload long-running tasks to OpenCode (and keep Claude Code's main context free for harder reasoning) is exactly the kind of leverage I was looking for. I've been using it for several weeks across a few different projects.
While using it, I ran into a handful of issues that I went ahead and fixed locally. I've opened them as separate PRs so you can review / merge them independently depending on your appetite:
fix(state): on machines where another plugin (e.g. a codex companion) exportsCLAUDE_PLUGIN_DATA, opencode-companion's state was landing in that other plugin's data directory. Fix derives our own data dir from the install path.sendPrompthardening: long-running tasks were hittingfetch failedat a fixed deadline because the POST cap fired before the completion watcher could observe the result. Also auto-starts the Monitor on rescue dispatch, and fixes a couple of smaller monitor /status --jsonissues.investigatingafter the session was actually done server-side. Adds a silent reconciler plus ahealsubcommand, and moves real stall detection (idle timeout, bash-tool stuck detector for the Bash permission 'ask' hangs forever in headless/server mode anomalyco/opencode#14473 ask-permission deadlock) into the watcher instead of relying on a hard deadline.Each PR has a test-plan in its description covering what I verified locally. Happy to rebase, split further, or adjust style to match your preferences — just let me know. And feel free to close this issue once the PRs are triaged; I mostly wanted to open it so there's a single place to thank you and group the context.