Skip to content

Option 3: openCode config#16

Merged
mkagenius merged 1 commit intomainfrom
sbxclientapi
Jan 27, 2026
Merged

Option 3: openCode config#16
mkagenius merged 1 commit intomainfrom
sbxclientapi

Conversation

@mkagenius
Copy link
Collaborator

No description provided.

@mkagenius mkagenius merged commit 70fd277 into main Jan 27, 2026
1 check passed
@gemini-code-assist
Copy link

Summary of Changes

Hello @mkagenius, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request enhances the README.md by adding a new configuration option for OpenCode. It provides clear instructions and a JSON snippet to guide users on how to integrate OpenCode with CodeRunner, enabling OpenCode to utilize CodeRunner as an MCP server. This update aims to simplify the setup process for users wishing to leverage CodeRunner's sandboxed environment within OpenCode.

Highlights

  • New OpenCode Configuration Option: A new section, 'Option 3: OpenCode Configuration', has been added to the README.md to guide users on integrating OpenCode with CodeRunner.
  • Detailed Configuration Instructions: The new section includes a JSON configuration snippet for ~/.config/opencode/opencode.json and step-by-step instructions to enable CodeRunner tools within OpenCode.
  • Renumbered Existing Options: To accommodate the new configuration option, subsequent sections in the README.md (Python OpenAI Agents, Gemini-CLI, Kiro by Amazon, Coderunner-UI) have been renumbered accordingly.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

The pull request adds a new integration option for 'OpenCode' to the README.md and renumbers the subsequent options. The new documentation is clear, but there's a potential issue with the hardcoded coderunner.local hostname in the provided JSON configuration. I've suggested adding a note to help users troubleshoot if they encounter DNS resolution problems, which would improve the robustness of the instructions.

"mcp": {
"coderunner": {
"type": "remote",
"url": "http://coderunner.local:8222/mcp",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The coderunner.local hostname might not resolve on all systems, which could cause this configuration to fail. Other examples in this repository (e.g., for OpenAI Agents and Claude Desktop) use a Python script to resolve this hostname to an IP address before using it. To improve user experience and prevent potential issues, consider adding a note for users on how to handle this if they face resolution problems. For example, you could add a sentence after the JSON block like:

Note: If coderunner.local does not resolve on your system, replace it with the IP address of the machine running CodeRunner.

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