Skip to content

opencode plugin#3

Merged
backnotprop merged 6 commits intomainfrom
feature/opencode
Dec 31, 2025
Merged

opencode plugin#3
backnotprop merged 6 commits intomainfrom
feature/opencode

Conversation

@backnotprop
Copy link
Owner

No description provided.

@backnotprop
Copy link
Owner Author

Code review

Found 1 issue:

  1. No timeout on user decision - The server.waitForDecision() call has no timeout. If the user closes the browser tab without clicking Approve or Deny, the promise never resolves, causing the plugin to hang indefinitely and block the agent.

const result = await server.waitForDecision();
await Bun.sleep(1500);
server.stop();

Consider adding a timeout with Promise.race() or implementing a disconnect detection mechanism.


Generated with Claude Code

If this code review was useful, please react with 👍. Otherwise, react with 👎.

@backnotprop backnotprop merged commit 99d017e into main Dec 31, 2025
@backnotprop backnotprop deleted the feature/opencode branch December 31, 2025 05:25
backnotprop added a commit that referenced this pull request Jan 7, 2026
* opencode plugin

* opencode plugin

* marketing copy updates

* opencode plugin marketing

* readme for open code

* readme enhancement;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant