Feat/opencode integration
Add OpenCode Zen as AI provider. Direct HTTP to https://opencode.ai/zen/v1 — no SDK. Same pattern as Anthropic, OpenAI, OpenRouter.
Closes #101.
New opencodeDriver: • Auth: apiKey (Bearer) • GET /models — live catalogue (pricing, context, capabilities) • POST /chat/completions — streaming + tool calls via existing chat-completions adapter and runToolLoop
Also wire opencode through driver registry, server handlers, runtime types, admin Providers tab, client TypeBox schemas. Unit tests for model list + stream mapping.
Docs updated in docs/features/agent.md (provider list + driver tree) and docs/deployment/docker-image.md (encrypted credential examples).
Not included: local opencode serve bridge. No Docker/deploy config changes — credentials stored encrypted in DB via INSTATIC_SECRET_KEY.
Verification
◼ bun run build ◼ bun test ◼ bun run lint ◻ Docker/deployment check, if relevant (N/A — no image/env/config changes)
Checklist
◼ Tests cover behavior changes. ◼ Docs were updated when behavior, config, deployment, or public surfaces changed. ◼ No compatibility shim was added for old pre-release behavior. ◼ No secrets, local databases, uploads, or generated artifacts are included.
@DavidBabinec, please have a look at the changes.