v0.0.8 — OpenCode provider + unified SDK architecture
·
18 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
What's new
OpenCode provider (openCode)
A second AI provider powered by @opencode-ai/sdk. Supports any model your OpenCode installation has access to — including GitLab Duo, GitHub Copilot, Anthropic, OpenAI, and Google.
import { runAgent, openCode } from 'openqa';
// GitLab Duo (default)
await runAgent(openCode('gitlab/duo-chat-haiku-4-5'), step, page);
// GitHub Copilot
await runAgent(openCode('github-copilot/gpt-5.4'), step, page);
// Anthropic / OpenAI / Google
await runAgent(openCode('anthropic/claude-sonnet-4-6'), step, page);
await runAgent(openCode('openai/gpt-4o'), step, page);
await runAgent(openCode('google/gemini-2.0-flash'), step, page);Unified SDK architecture
Both claudeCode and openCode now share the same transport and interface:
- Shared MCP server — Playwright MCP exposed over HTTP on a random
127.0.0.1port perrunAgent()call. No subprocesses, no temp files, no socket bridges. - Shared system prompt — identical agent instructions regardless of which backend runs the step.
- Uniform
provider.run()interface — swapping providers is a one-line change in.openqa/steps/steps.ts.
openqa init wizard updates
- GitLab Duo (
gitlab/duo-chat-haiku-4-5) and GitHub Copilot (github-copilot/gpt-5.4) added as first-class OpenCode model options - Next Steps message now shows
claude login/opencode auth loginas the local auth path — no API key needed for local development
No API key needed locally
claude login # Claude Code
opencode auth login # OpenCode (GitLab Duo, GitHub Copilot, Anthropic, OpenAI, Google, …)Installation
npx openqa initOr update an existing install:
cd .openqa && npm install openqa@latest