opencode icon indicating copy to clipboard operation
opencode copied to clipboard

tui: persist agent/model per session

Open ry2009 opened this issue 1 month ago • 3 comments

  • Per-session agent/model prefs are persisted and re-applied on every switch (old and new sessions).
  • Prefs are saved when leaving a session and applied (or seeded) when entering the next session.
  • New pref store file session-pref.json under state dir; unit test for round-trip.

ry2009 avatar Dec 09 '25 00:12 ry2009

I know this still may be in talks about approach/want of this feature but thought I would get ahead as I saw it as low hanging fruit

ry2009 avatar Dec 09 '25 01:12 ry2009

/review

rekram1-node avatar Dec 11 '25 04:12 rekram1-node

Yea

rekram1-node avatar Dec 11 '25 06:12 rekram1-node