Prerequisites
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
Prerequisites
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