fix(provider-cursor): Cursor text generation no longer leaks SQLite file handles on every call (#19310)

Takeover of #18154. Per-call SqliteLocalAgentStore so Cursor text generation closes its SQLite handles, and the agent now closes before its store on sign-out. Fixes #18151.

Co-authored-by: Aaron Queen <bompus@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
acb90279e2Theo Browne committed on 10/14/2026, 8:14:50 AM· committed by GitHubparent4cd0076
6 files changedLine totals unavailable