Using this is going to get you banned, just like OpenCode.
It's better to make this use the API instead
My friend got banned 3x from Claude Code when using OpenCode indeed. Gave up and moved to Codex. So it does sound like a dangerous approach indeed.
Yes you can use the API and also make it agnostic to use OpenAI or local LLM/VLM