feat(mx): add Nextcloud Talk opencode bot pointing at halo.hoyer.tail:8000

Mirrors the existing nextcloud-claude-bot setup but invokes `opencode run`
against the local `halo-8000` provider/model. The bot listens on
127.0.0.1:8086, is exposed via the `/_opencode-bot/` location on
nc.hoyer.xyz, and uses `@Halo` as its mention trigger in group chats.

The opencode config (config/opencode/config.json) is installed into the
service's $HOME/.config/opencode/ on each start, so the bot picks up the
same provider definition the user uses interactively. The model map keys
are renamed to `halo-8000` / `halo-8001` so the canonical
`provider/model` reference works without an alias indirection.
This commit is contained in:
Harald Hoyer 2026-05-13 15:08:18 +02:00
parent dadfb07914
commit d8e8293c0e
6 changed files with 576 additions and 2 deletions

View file

@ -9,7 +9,7 @@
"baseURL": "http://halo.hoyer.tail:8000/v1"
},
"models": {
"unsloth/Qwen3.6-27B-GGUF:UD-Q8_K_XL": { "name" : "halo8000" }
"halo-8000": { "name" : "halo-8000" }
}
},
"halo-8001": {
@ -19,7 +19,7 @@
"baseURL": "http://halo.hoyer.tail:8001/v1"
},
"models": {
"placeholder": { "name" : "halo8001" }
"halo-8001": { "name" : "halo-8001" }
}
}
}