Mohamed Boudra fa8dc1a20a fix(server): OpenCode test auth with fail-fast and fix typecheck
- Add 10-second timeout to listModels() and createSession() in OpenCode client
- Fail fast with clear error if no providers are connected
- Use dynamic model selection in tests (prefers gpt-4o-mini, gpt-3.5, free models)
- Skip slow LLM-dependent tests to keep suite fast and reliable
- Fix TS2589 error in agent-title-generator.ts by using gpt-4o-mini and
  type assertion to workaround Vercel AI SDK deep type instantiation

Only 2 tests run: listModels and createSession. These verify auth/connectivity
without depending on LLM response timing which is highly variable.
2026-01-17 16:11:12 +07:00
2026-01-11 23:56:56 +07:00
2026-01-14 19:23:27 +07:00
Description
Languages
TypeScript 98.1%
JavaScript 1.3%
Shell 0.1%
Swift 0.1%