opencode icon indicating copy to clipboard operation
opencode copied to clipboard

[FEATURE]: Allow plugins to have their own configuration

Open airtonix opened this issue 2 months ago • 3 comments

Feature hasn't been suggested before.

  • [x] I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Currently we can use plugins like:

{
  "$schema": "https://opencode.ai/config.json",
  "plugin": ["opencode-skills", "opencode-sessions"],
}

But it occurs to me that some plugins would benefit from allowing the user to configure them differently:

{
  "$schema": "https://opencode.ai/config.json",
  "plugin": [
    { "name": "opencode-skills", "config": { "paths": [ "~/Dotfiles/OpencodeSkills" ] } },
    "opencode-sessions"
  ],
}

airtonix avatar Nov 17 '25 01:11 airtonix