v1.2.2: Major Session List Performance Improvement
Release Date: February 14, 2026
One-Sentence Summary
This update makes session list loading much faster, especially noticeable when you have many sessions.
New Feature: Session List Performance Optimization
What was updated?
Optimized Session.list() query performance by filtering at the database level instead of loading all data first and then filtering.
What is the session list?
OpenCode saves all historical sessions. When you run opencode attach or view the session list in different project directories, OpenCode needs to load these historical records.
How big is the performance improvement?
| Number of Sessions | Before | Now |
|---|---|---|
| 10 | Fast | Fast |
| 50 | Slower | Fast |
| 100+ | Noticeable lag | Smooth |
Simply put: If you have many sessions (dozens to hundreds), this update will make things feel "much faster."
Bug Fix: Model Variant Support
The Previous Problem
When using Vercel gateway or certain providers, model variants might not be correctly identified and used.
The Current Situation
Fixed the Vercel gateway variant issue, ensuring more accurate model selection.
Should You Upgrade?
| Situation | Recommendation |
|---|---|
| Many sessions, loading is slow | ✅ Upgrade |
| Using Vercel gateway | ✅ Upgrade |
| Everything works fine | Can wait for next release |
Upgrade command:
bash
opencode upgradeTechnical Details (Optional)
Click to expand full changelog
Core
- Added comprehensive test coverage for Session.list() filters
- Filter sessions at database level to improve session list loading performance
- Fixed Vercel gateway variants
- Upgraded Vertex AI package

