Commit 2e2e99f
fix: OpenCode sessions empty — SQLite OFFSET without LIMIT is syntax error
OFFSET requires LIMIT in SQLite. When session_service passes limit=None
to load all sessions for archive filtering, the generated SQL
"ORDER BY ... OFFSET 0" silently fails. Fix: use LIMIT -1 OFFSET n.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 0811fac commit 2e2e99f
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
0 commit comments