Opencode support
Hi, just wanted to say that this library is amazing, and would be curios it is planned to support Opencode in the near future
thanks!
what support would be helpful?
I've directed the documentation towards Claude Code, and there's the Claude Code plugin. but generally Worktrunk isn't coupled to any specific app
@gabimoncha also curious what you're thinking. I've been using opencode daily since it was very first launched and similar with wt. Would love to hear about some of your workflows.
sry for not being clear, i was referring mostly to the commit generation: https://worktrunk.dev/claude-code/
OK, if someone would like to add a good opencode example for commit generation to the docs, I'd be happy to take it
(please consider how to make it the lowest possible latency, not just opencode 'write commit', etc)
This is what I have so far, I could not find any options to lower the latency
command = "opencode run -m opencode/minimax-m2.5-free"
is there a variant of the model that is minimal thinking, for example?
is there a model that folks who use opencode are most likely to use?
@worktrunk-bot could you draft an abbreviated section in our docs with some suggested commands for models (but not a whole section), and include this? probably we have a section for claude & codex and then a series of commands for opencode llm, ai-chat, in that order? (and make adjustmets in @viicslen or @gabimoncha have feedback)
Drafted a PR: #1295
Changes:
- Added opencode section with
opencode run(uses whatever model is in the user's opencode config) - Reordered to: Claude Code, Codex, opencode, llm, aichat
- Claude Code and Codex keep their fuller descriptions; opencode, llm, and aichat are brief command entries
I kept the opencode example as just opencode run without a -m flag, since the right model depends on the user's setup and provider. @viicslen @gabimoncha — let me know if you'd prefer a specific model in the example (e.g., opencode run -m anthropic/claude-haiku-4.5) or if the bare command is better as the default.