Skip to content

feat(client,worker): add OpenCode agent support - #6

Open
lviobio wants to merge 6 commits into
lonetis:mainfrom
lviobio:dev/opencode-support
Open

lviobio wants to merge 6 commits into
lonetis:mainfrom
lviobio:dev/opencode-support

Conversation

@lviobio

@lviobio lviobio commented Oct 10, 2026

Copy link
Copy Markdown
Contributor

Adds OpenCode alongside Claude, Codex and Gemini, with OpenCode Console (Zen) authentication.

  • Install the latest OpenCode 2.x and configure instructions, shared skills, MCP servers and automatic permissions.
  • Support Console OAuth and service-account API keys under the zen provider. Select the default model from the catalog while preserving user preferences and supported reasoning variants.
  • Share multiple accounts across a user's workers, synchronize credential changes and resets, and preserve sessions across rebuilds. Exclude credentials from worker exports.
  • Add OpenCode to account settings, environments, init scripts and Usage. Show connection status separately from unavailable usage statistics.
  • Fix browser terminal colors, mouse controls, Escape, keyboard shortcuts with non-Latin layouts, clipboard access, wrapped links and initial text alignment.

Validation:

  • 19 unit tests passed, including native OpenCode integration.
  • 8 OpenCode API tests passed.
  • Browser checks passed for keyboard and mouse controls, clipboard, wrapped links and text alignment.
  • Type checking passed.

Support Console OAuth and API keys, catalog-based model selection, persistent worker settings, and multiple shared provider accounts. Preserve concurrent logins and account switches, propagate deletions and resets, and remove credentials from worker exports.

Update account and usage status, add the auto init preset, and run unit tests in the Docker test runner.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant