Skip to content

[Feature]: Kilo Code Support #1863

Description

@archodev

Prerequisites

  • I will write this issue in English (see our Language Policy)
  • I have searched existing issues and discussions to avoid duplicates
  • This feature request is specific to oh-my-opencode (not OpenCode core)
  • I have read the documentation or asked an AI coding agent with this project's GitHub URL loaded and couldn't find the answer

Problem Description

Interestingly enough, the Kilo Code CLI appears to support OpenCode plugins as it is a fork of OpenCode. I think it would be great if we could use Oh My OpenCode in the Kilo Code CLI because they offer free models like GLM-5 that are not available in OpenCode.

Proposed Solution

I propose that a flag is added to the installer that allows you to install the plugin for Kilo Code CLI. This would add the plugin to the configuration in ~/.config/kilo/config.json and make it so when the plugin is run from Kilo Code, it properly reads from ~/.config/kilo/oh-my-opencode.json. I think the easiest way to detect if we are running in Kilo Code would be to see if the kilo/ model provider is available.

Alternatives Considered

I tried copying my ~/.config/opencode folder into ~/.config/kilocode and it didn't work, it turns out that contrary to what their documentation claims the correct config file location is ~/.config/kilo/config.json. Copying here does work, however it tries to load the oh-my-opencode config from ~/.config/opencode/oh-my-opencode.json which contains opencode models not available in kilo code.

Doctor Output (Optional)

Additional Context

No response

Feature Type

Configuration Option

Contribution

  • I'm willing to submit a PR for this feature
  • I can help with testing
  • I can help with documentation

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions