Skip to content

Upgrade to OpenCode 2.2.0 plugin SDK and OpenTUI 0.7 #89

Open

Description

@frap129

What to build

Move the package from the pre-rename @opencode-ai/* beta packages to the OpenCode 2.2.0 SDK and OpenTUI 0.7, and keep the server and TUI parts loading. This raises the minimum supported host to OpenCode 2.2.0 and OpenTUI 0.7.

Use @opencode/plugin@2.2.0, @opencode/client@2.2.0, and @opencode/theme@2.2.0; use @opentui/core@0.7.0 and @opentui/solid@0.7.0. Replace source and test imports. Migrate the TUI mount test off the removed DEFAULT_THEME and assert the 2.2.0 resolved-theme fields. Update README and AGENTS dependency references. Regenerate the lockfile.

Acceptance criteria

  • All @opencode-ai/* dependencies and imports are removed.
  • The package depends on the 2.2.0 @opencode/* packages and OpenTUI 0.7.0.
  • Peer requirements state the OpenCode 2.2.0 / OpenTUI 0.7.0 minimum.
  • The TUI mount test no longer uses DEFAULT_THEME and passes or skips cleanly when the renderer FFI is unavailable.
  • README and AGENTS dependency references are current.
  • The lockfile is regenerated and aube install --frozen-lockfile succeeds.
  • aube run lint, aubx tsc --noEmit, aube run test:run, and aube run build pass.

Blocked by

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agentFully specified, ready for an AFK agentv2Part of the opencode v2 migration effort

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions