Add opencode setup instructions - #243
Conversation
|
I'm not sure that I really care to show specific examples, if anything a sentence or two pointing telling users to look at the docs for their specific harness should suffice---these are developers we're targetting... I'll leave up to @AJenbo |
|
A lot of people are asking for how to do this, we could maybe split things up in a editor and how to do so for agentic coding tools.
They could have just asked there tool, but I think a lot of times these guides also work as a "Is supported" list which is often what people are actually looking for. |
|
@carnage have you had a good experience using PHPantom with your AI? |
I came here looking for instructions on how to configure, found the old issue asking about it. Figured it out myself and contributed back (was non-trivial as I'd originally attempted to set it up to use the analyse command rather than --stdio). Only been using it with the agent for a few test edits so far but it seems to be doing well; outside of an initial lag on the first edit. (which I assume was it indexing the project) |
|
Thanks, I appreciate the feedback. |
|
I split it up into a IDE and Agent section now that we also have a Claude Code plugin: https://github.com/PHPantom-dev/phpantom_lsp/blob/main/docs/SETUP.md#agent-setup @carnage I don't know much about OpenCode but maybe a similar option would make sens for it? https://github.com/PHPantom-dev/phpantom_claude#install It handles both downloading the latest binder and besides the LSP side of things it also adds a skill file that lets the agent know how to use the CLI options to analyze a full project and apply auto fixes. |
|
Opencode does allow for plugins as well but I've not really explored them or writing my own as of yet. I currently only use local models so I've been working on ways to get the model to produce correct output despite not being as powerful as the hosted/paid options. |
A quick docs update to show an example configuration for opencode.
Other AI harnesses are probably similar enough users can work it out from the example given.
Implements #208