After setup, if opencode is missing, offer to install it with its official installer; then add an `llmhost` provider pointing at http://localhost:<api port>/v1 that reads llm-host's key file directly. Other providers and the default model are kept, the original config is backed up once, trailing commas are tolerated, and a config with comments is left untouched (the block is printed instead). Re-runs and `llmhost update` keep the provider's port and models in sync. New: `llmhost opencode-setup`, and setup flags --opencode / --no-opencode. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QaE1hpvyZTJixEbUUMj9Ca |
||
|---|---|---|
| .. | ||
| backends | ||
| web | ||
| __init__.py | ||
| __main__.py | ||
| catalog.json | ||
| cli.py | ||
| hfcache.py | ||
| hw.py | ||
| opencode.py | ||
| paths.py | ||
| plan.py | ||
| service.py | ||