OpenCode v1.2.2: Session Filtering & Vercel Fixes

OpenCode v1.2.2 brings database-level session filtering for better performance, fixes Vercel gateway issues, and updates Vertex AI dependencies.

OpenCode v1.2.2: Session Filtering & Vercel Fixes

TL;DR

  • Session list filtering now happens at the database level for faster performance
  • Vercel gateway variants fixed
  • Vertex AI packages bumped

New

  • Comprehensive test coverage for Session.list() filters — Added full test suite for session filtering logic to catch regressions early

Fixed

  • Session list loading performance — Moved filter operations from application layer to database queries, reducing memory overhead and response times
  • Vercel gateway variants — Resolved compatibility issues with Vercel deployment targets

Updated

  • Vertex AI packages — Bumped to latest versions for improved stability and feature support

Update with: npm install opencode@1.2.2

Source: OpenCode