Skip to content

[QUESTION] Should .opencode/opencode.jsonc should be removed and gitignored? #4565

@ben-vargas

Description

@ben-vargas

Question

When the community clones and reviews/works on opencode, the .opencode/opencode.jsonc overrides the plugins instantiated in ~/.config/opencode/opencode.json or jsonc file - I think this should be in .gitignore?

I'm not sure it is a great practice as it's a 3rd party npm package and runs non-SST code and not declared as a dependency (i.e. hard to know it ran and why).

I've contributed to and helped create that plugin, so I do support it... but question it loading by default and surprising devs running opencode from the cloned source dir.

It just caused a headache overriding my own defined plugins until I dug in to figure out why my defined plugins weren't loading... thought I'd raise this as a question/consideration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions